Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_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.001032/0.001032, allocations: 95.11 kB / 16.98 MB, free: 5.938 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.001116/0.001116, allocations: 182.3 kB / 17.87 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 384 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2184/0.2184, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0002997, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1048, allocations: 61.93 MB / 471.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02971/0.1345, allocations: 29.68 MB / 0.4894 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01712/0.1517, allocations: 7.734 MB / 0.4969 GB, free: 8.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006148/0.1579, allocations: 147.6 kB / 0.4971 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005991/0.1639, allocations: 1.423 MB / 0.4985 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01559/0.1795, allocations: 4.355 MB / 0.5027 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00273/0.1823, allocations: 0.4952 MB / 0.5032 GB, free: 1.801 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2629/0.4452, allocations: 1.889 MB / 0.505 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005846/0.451, allocations: 2.931 MB / 0.5079 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002333/0.4534, allocations: 0.8655 MB / 0.5088 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002663/0.4561, allocations: 1.122 MB / 0.5099 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005923/0.4567, allocations: 113.8 kB / 0.51 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.4585, allocations: 0.791 MB / 0.5107 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001743/0.4603, allocations: 1.294 MB / 0.512 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.4614, allocations: 0.7022 MB / 0.5127 GB, free: 11.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006482/0.4679, allocations: 4.436 MB / 0.517 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.468, allocations: 0 / 0.517 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.468, allocations: 1.031 kB / 0.517 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000283/0.4683, allocations: 0 / 0.517 GB, free: 11.05 MB / 382.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.009536/0.4778, allocations: 3.409 MB / 0.5203 GB, free: 9.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.4779, allocations: 9.5 kB / 0.5204 GB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00798/0.4859, allocations: 2.113 MB / 0.5224 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005783/0.4917, allocations: 1.99 MB / 0.5244 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.4919, allocations: 190.5 kB / 0.5245 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008102/0.4927, allocations: 253.7 kB / 0.5248 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01608/0.5088, allocations: 8.495 MB / 0.5331 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001388/0.5089, allocations: 39.5 kB / 0.5331 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/0.5094, allocations: 126.4 kB / 0.5332 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/0.5121, allocations: 1.7 MB / 0.5349 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.5264, allocations: 7.158 MB / 0.5419 GB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05014/0.5766, allocations: 34.22 MB / 0.5753 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/0.5845, allocations: 3.281 MB / 0.5785 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01023/0.5948, allocations: 4.399 MB / 0.5828 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.5949, allocations: 52.88 kB / 0.5829 GB, free: 12.95 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.378e-06/0.5949, allocations: 0 / 0.5829 GB, free: 12.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.034/0.6289, allocations: 11.77 MB / 0.5943 GB, free: 1.016 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/0.6291, allocations: 168.8 kB / 0.5945 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009355/0.6385, allocations: 3.823 MB / 0.5982 GB, free: 13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005089/0.639, allocations: 41.7 kB / 0.5983 GB, free: 12.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002726/0.6418, allocations: 2.757 MB / 0.601 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008323/0.6426, allocations: 0.5206 MB / 0.6015 GB, free: 9.699 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004867/0.6431, allocations: 108 kB / 0.6016 GB, free: 9.594 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0005523/0.6437, allocations: 0.5291 MB / 0.6021 GB, free: 9.059 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003083/0.6468, allocations: 1.677 MB / 0.6037 GB, free: 7.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005361/0.6521, allocations: 5.069 MB / 0.6087 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005573/0.6577, allocations: 2.865 MB / 0.6115 GB, free: 13.89 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.6579, allocations: 36 kB / 0.6115 GB, free: 13.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01466/0.6726, allocations: 6.657 MB / 0.618 GB, free: 7.449 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.6727, allocations: 56 kB / 0.6181 GB, free: 7.395 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.6729, allocations: 124 kB / 0.6182 GB, free: 7.273 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006515/0.6736, allocations: 341 kB / 0.6185 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.6778, allocations: 1.24 MB / 0.6197 GB, free: 5.695 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.6806, allocations: 2.331 MB / 0.622 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00468/0.6853, allocations: 287.5 kB / 0.6223 GB, free: 2.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/0.6865, allocations: 332 kB / 0.6226 GB, free: 2.629 MB / 462.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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005452/0.692, allocations: 1.799 MB / 0.6244 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008105/0.6928, allocations: 311.9 kB / 0.6247 GB, free: 0.5078 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005699/0.6985, allocations: 2.351 MB / 0.6269 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.126e-05/0.6986, allocations: 16 kB / 0.627 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.551e-05/0.6986, allocations: 11.92 kB / 0.627 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.6986, allocations: 3.984 kB / 0.627 GB, free: 14.11 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01542/0.714, allocations: 5.93 MB / 0.6328 GB, free: 8.145 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.7141, allocations: 4 kB / 0.6328 GB, free: 8.141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009116/0.715, allocations: 167.8 kB / 0.6329 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002237/0.7173, allocations: 0.7169 MB / 0.6336 GB, free: 7.258 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.7175, allocations: 20 kB / 0.6337 GB, free: 7.238 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.7238, allocations: 4.583 MB / 0.6381 GB, free: 2.531 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7238, allocations: 4.031 kB / 0.6381 GB, free: 2.527 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01202/0.7359, allocations: 4.434 MB / 0.6425 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001802/0.7377, allocations: 376.9 kB / 0.6428 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001298/0.739, allocations: 20 kB / 0.6428 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002486/0.7415, allocations: 71.91 kB / 0.6429 GB, free: 13.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004503/0.742, allocations: 70.16 kB / 0.643 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/0.7423, allocations: 32 kB / 0.643 GB, free: 13.46 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007412/0.7497, allocations: 2.405 MB / 0.6454 GB, free: 11.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7497, allocations: 4.062 kB / 0.6454 GB, free: 11.06 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007945/0.7577, allocations: 0.8432 MB / 0.6462 GB, free: 10.22 MB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007463/0.7585, allocations: 166.6 kB / 0.6463 GB, free: 10.05 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007233/0.7657, allocations: 3.996 MB / 0.6502 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.465e-06/0.7658, allocations: 0.5625 kB / 0.6502 GB, free: 6.07 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.7676, allocations: 1.112 MB / 0.6513 GB, free: 4.949 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.7703, allocations: 350.7 kB / 0.6517 GB, free: 4.605 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01834/0.7886, allocations: 8.585 MB / 0.66 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004988/0.7936, allocations: 2.863 MB / 0.6628 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004714/0.7984, allocations: 1.669 MB / 0.6645 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009185/0.7993, allocations: 215.4 kB / 0.6647 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.7993, allocations: 0 / 0.6647 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of Templates: time 0.0584/0.8577, allocations: 29.53 MB / 0.6935 GB, free: 9.895 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches