Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 94 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001476/0.001476, allocations: 196.6 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2089/0.2089, allocations: 46.18 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003349, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1438, allocations: 63.56 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0326/0.1764, allocations: 33.5 MB / 0.5045 GB, free: 2.508 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2605/0.437, allocations: 7.754 MB / 0.5121 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005546/0.4426, allocations: 145.2 kB / 0.5122 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.4441, allocations: 369.9 kB / 0.5125 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006497/0.4506, allocations: 1.536 MB / 0.514 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.4527, allocations: 0.5603 MB / 0.5146 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01012/0.4628, allocations: 4.766 MB / 0.5192 GB, free: 9.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007375/0.4703, allocations: 3.268 MB / 0.5224 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002878/0.4732, allocations: 0.9448 MB / 0.5234 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00458/0.4778, allocations: 1.61 MB / 0.5249 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007994/0.4786, allocations: 114.2 kB / 0.525 GB, free: 8.715 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002747/0.4814, allocations: 0.9391 MB / 0.526 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001717/0.4831, allocations: 1.409 MB / 0.5273 GB, free: 7.578 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.4849, allocations: 1.66 MB / 0.529 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006738/0.4917, allocations: 5.376 MB / 0.5342 GB, free: 2.832 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4917, allocations: 0 / 0.5342 GB, free: 2.832 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4917, allocations: 4 kB / 0.5342 GB, free: 2.828 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001982/0.4919, allocations: 0 / 0.5342 GB, free: 2.828 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.008099/0.5, allocations: 3.291 MB / 0.5374 GB, free: 492 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5001, allocations: 10.41 kB / 0.5374 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007057/0.5072, allocations: 1.826 MB / 0.5392 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/0.5123, allocations: 1.882 MB / 0.5411 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/0.5125, allocations: 191.2 kB / 0.5412 GB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005228/0.5131, allocations: 258.5 kB / 0.5415 GB, free: 14.17 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.5272, allocations: 8.465 MB / 0.5497 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-05/0.5273, allocations: 43.59 kB / 0.5498 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000335/0.5276, allocations: 120.4 kB / 0.5499 GB, free: 6.113 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003197/0.5309, allocations: 1.703 MB / 0.5516 GB, free: 4.418 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.5454, allocations: 7.127 MB / 0.5585 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04209/0.5876, allocations: 34.15 MB / 0.5919 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007742/0.5953, allocations: 3.296 MB / 0.5951 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002026/0.5974, allocations: 1.469 MB / 0.5965 GB, free: 5.383 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007365/0.6048, allocations: 4.447 MB / 0.6009 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.078e-05/0.6049, allocations: 47.12 kB / 0.6009 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.576e-06/0.6049, allocations: 0 / 0.6009 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.03266/0.6375, allocations: 11.54 MB / 0.6122 GB, free: 4.984 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6377, allocations: 170.9 kB / 0.6123 GB, free: 4.781 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008222/0.6459, allocations: 3.709 MB / 0.616 GB, free: 1.078 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003407/0.6463, allocations: 45.7 kB / 0.616 GB, free: 1.027 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6484, allocations: 2.744 MB / 0.6187 GB, free: 14.28 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006544/0.6491, allocations: 0.5247 MB / 0.6192 GB, free: 13.76 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005306/0.6497, allocations: 465.9 kB / 0.6197 GB, free: 13.3 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.62e-05/0.6498, allocations: 305.1 kB / 0.6199 GB, free: 13 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002575/0.6523, allocations: 1.716 MB / 0.6216 GB, free: 11.28 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005053/0.6574, allocations: 5.135 MB / 0.6266 GB, free: 4.414 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008944/0.6664, allocations: 7.426 MB / 0.6339 GB, free: 11.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.286e-05/0.6665, allocations: 40 kB / 0.6339 GB, free: 11.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01233/0.6788, allocations: 6.733 MB / 0.6405 GB, free: 4.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/0.679, allocations: 56 kB / 0.6406 GB, free: 4.445 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.6791, allocations: 124 kB / 0.6407 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006793/0.6798, allocations: 321.1 kB / 0.641 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003967/0.6838, allocations: 1.252 MB / 0.6422 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002652/0.6865, allocations: 2.287 MB / 0.6444 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004372/0.6908, allocations: 295.5 kB / 0.6447 GB, free: 44 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007214/0.6916, allocations: 338.8 kB / 0.645 GB, free: 15.71 MB / 0.4981 GB 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.003685/0.6953, allocations: 1.783 MB / 0.6468 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006191/0.6959, allocations: 308 kB / 0.6471 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.7009, allocations: 2.374 MB / 0.6494 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.903e-05/0.7009, allocations: 16 kB / 0.6494 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.7009, allocations: 7.938 kB / 0.6494 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.287e-05/0.7009, allocations: 3.984 kB / 0.6494 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.7128, allocations: 5.944 MB / 0.6552 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/0.7128, allocations: 4 kB / 0.6552 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008865/0.7137, allocations: 175.8 kB / 0.6554 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00226/0.716, allocations: 0.7108 MB / 0.6561 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/0.7161, allocations: 16 kB / 0.6561 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006299/0.7224, allocations: 4.48 MB / 0.6605 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.7225, allocations: 7.938 kB / 0.6605 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007425/0.7299, allocations: 4.339 MB / 0.6647 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.7312, allocations: 376.9 kB / 0.6651 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002977/0.7315, allocations: 16 kB / 0.6651 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/0.7326, allocations: 75.84 kB / 0.6652 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002179/0.7328, allocations: 72.62 kB / 0.6652 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-05/0.7329, allocations: 35.98 kB / 0.6653 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00379/0.7367, allocations: 2.315 MB / 0.6675 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3e-07/0.7367, allocations: 0 / 0.6675 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004755/0.7415, allocations: 0.8068 MB / 0.6683 GB, free: 7.625 MB / 0.5137 GB 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.0004326/0.7419, allocations: 159 kB / 0.6685 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007052/0.749, allocations: 4.042 MB / 0.6724 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.709e-06/0.749, allocations: 4 kB / 0.6724 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001709/0.7507, allocations: 1.116 MB / 0.6735 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/0.754, allocations: 371.2 kB / 0.6739 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.7704, allocations: 9.02 MB / 0.6827 GB, free: 8.883 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/0.774, allocations: 2.785 MB / 0.6854 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004665/0.7787, allocations: 1.656 MB / 0.687 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/0.7796, allocations: 211.4 kB / 0.6872 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of SimCode: time 1.984e-06/0.7796, allocations: 0 / 0.6872 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of Templates: time 0.3603/1.14, allocations: 29.34 MB / 0.7159 GB, free: 156.3 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches