Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00173/0.00173, allocations: 105.7 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 190.7 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.609/1.609, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2031/0.2031, allocations: 43.53 MB / 313.9 MB, free: 0.5156 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 66.36 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1099, allocations: 57.79 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01032/0.1202, allocations: 10.28 MB / 450.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008236/0.1285, allocations: 3.772 MB / 454.6 MB, free: 8.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.1303, allocations: 63.81 kB / 454.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003575/0.1339, allocations: 1.958 MB / 456.6 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.1378, allocations: 1.65 MB / 458.2 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.1391, allocations: 0.6121 MB / 458.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003838/0.143, allocations: 3.345 MB / 462.2 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002602/0.1456, allocations: 2.587 MB / 464.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001559/0.1471, allocations: 1.25 MB / 466 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00195/0.1491, allocations: 1.67 MB / 467.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004671/0.1496, allocations: 252 kB / 468 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001986/0.1516, allocations: 1.018 MB / 469 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001865/0.1535, allocations: 1.57 MB / 470.5 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003112/0.1566, allocations: 1.833 MB / 472.4 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01125/0.1679, allocations: 5.627 MB / 478 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.168, allocations: 0 / 478 MB, free: 1.238 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.168, allocations: 0 / 478 MB, free: 1.238 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002907/0.1683, allocations: 0 / 478 MB, free: 1.238 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01564/0.1839, allocations: 4.022 MB / 482 MB, free: 13.15 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.446e-05/0.1841, allocations: 15.83 kB / 482 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/0.1974, allocations: 1.774 MB / 483.8 MB, free: 11.35 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006433/0.2039, allocations: 1.959 MB / 485.8 MB, free: 9.332 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003142/0.2042, allocations: 189.2 kB / 486 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00113/0.2054, allocations: 255.8 kB / 486.2 MB, free: 8.895 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.2312, allocations: 8.432 MB / 494.6 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001761/0.2314, allocations: 47.58 kB / 494.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007776/0.2322, allocations: 123.9 kB / 494.8 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005494/0.2377, allocations: 1.695 MB / 496.5 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/0.2626, allocations: 7.106 MB / 0.4918 GB, free: 6.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07035/0.333, allocations: 34.16 MB / 0.5252 GB, free: 3.668 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01279/0.3459, allocations: 3.286 MB / 0.5284 GB, free: 232 kB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2158/0.5617, allocations: 1.459 MB / 0.5298 GB, free: 87.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006705/0.5684, allocations: 4.358 MB / 0.534 GB, free: 86.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5685, allocations: 48.36 kB / 0.5341 GB, free: 86.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.987e-06/0.5685, allocations: 1.062 kB / 0.5341 GB, free: 86.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02805/0.5966, allocations: 11.54 MB / 0.5454 GB, free: 82.06 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.19e-05/0.5967, allocations: 172.5 kB / 0.5455 GB, free: 81.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004387/0.6011, allocations: 3.732 MB / 0.5492 GB, free: 80.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001364/0.6012, allocations: 47.77 kB / 0.5492 GB, free: 80.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001157/0.6024, allocations: 2.754 MB / 0.5519 GB, free: 78.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/0.6028, allocations: 0.5172 MB / 0.5524 GB, free: 77.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009437/0.6037, allocations: 1.078 MB / 0.5535 GB, free: 77.46 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.203e-05/0.6038, allocations: 308.9 kB / 0.5538 GB, free: 77.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001786/0.6056, allocations: 1.701 MB / 0.5554 GB, free: 76.63 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002789/0.6084, allocations: 5.133 MB / 0.5604 GB, free: 71.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.6135, allocations: 7.412 MB / 0.5677 GB, free: 62.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-05/0.6135, allocations: 36 kB / 0.5677 GB, free: 62.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.00819/0.6217, allocations: 6.735 MB / 0.5743 GB, free: 55.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.521e-05/0.6218, allocations: 56 kB / 0.5743 GB, free: 55.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.581e-05/0.6219, allocations: 120 kB / 0.5745 GB, free: 55.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/0.6224, allocations: 325.5 kB / 0.5748 GB, free: 54.78 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003036/0.6254, allocations: 1.244 MB / 0.576 GB, free: 53.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001877/0.6273, allocations: 2.506 MB / 0.5784 GB, free: 50.89 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003188/0.6305, allocations: 283.5 kB / 0.5787 GB, free: 50.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003289/0.6309, allocations: 332 kB / 0.579 GB, free: 50.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001885/0.6328, allocations: 1.803 MB / 0.5808 GB, free: 48.48 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004429/0.6332, allocations: 312.8 kB / 0.5811 GB, free: 48.17 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003679/0.6369, allocations: 2.36 MB / 0.5834 GB, free: 45.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.6369, allocations: 19.94 kB / 0.5834 GB, free: 45.78 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.6369, allocations: 4 kB / 0.5834 GB, free: 45.77 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.637, allocations: 7.969 kB / 0.5834 GB, free: 45.77 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009145/0.6461, allocations: 5.926 MB / 0.5892 GB, free: 39.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.6462, allocations: 4.031 kB / 0.5892 GB, free: 39.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.6469, allocations: 168.5 kB / 0.5894 GB, free: 39.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001913/0.6489, allocations: 0.7185 MB / 0.5901 GB, free: 38.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.649, allocations: 27.94 kB / 0.5901 GB, free: 38.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004816/0.6538, allocations: 4.814 MB / 0.5948 GB, free: 33.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.6538, allocations: 4 kB / 0.5948 GB, free: 33.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005376/0.6592, allocations: 4.325 MB / 0.599 GB, free: 29.57 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.6603, allocations: 0.5204 MB / 0.5995 GB, free: 29.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000597/0.6609, allocations: 23.98 kB / 0.5995 GB, free: 29.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/0.6623, allocations: 71.66 kB / 0.5996 GB, free: 28.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001787/0.6624, allocations: 76.59 kB / 0.5997 GB, free: 28.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.833e-05/0.6626, allocations: 36.56 kB / 0.5997 GB, free: 28.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002616/0.6652, allocations: 2.331 MB / 0.602 GB, free: 26.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6652, allocations: 3.938 kB / 0.602 GB, free: 26.51 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003656/0.6688, allocations: 0.8174 MB / 0.6028 GB, free: 25.7 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003041/0.6692, allocations: 153.2 kB / 0.6029 GB, free: 25.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005297/0.6745, allocations: 4.422 MB / 0.6073 GB, free: 21.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6745, allocations: 0 / 0.6073 GB, free: 21.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.6757, allocations: 1.107 MB / 0.6083 GB, free: 20.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002156/0.6779, allocations: 401.2 kB / 0.6087 GB, free: 19.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009328/0.6872, allocations: 7.378 MB / 0.6159 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.6896, allocations: 2.791 MB / 0.6187 GB, free: 9.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003652/0.6932, allocations: 1.658 MB / 0.6203 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006685/0.6939, allocations: 207.4 kB / 0.6205 GB, free: 7.598 MB / 414.1 MB Notification: Performance of SimCode: time 8.91e-07/0.6939, allocations: 0 / 0.6205 GB, free: 7.598 MB / 414.1 MB Notification: Performance of Templates: time 0.06098/0.7549, allocations: 31.08 MB / 0.6508 GB, free: 8.629 MB / 446.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches