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.001099/0.0011, allocations: 97.45 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000997/0.0009971, allocations: 203 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.397/1.397, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 45.91 MB / 344 MB, free: 12.14 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002514/0.0002516, allocations: 12 kB / 417.9 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1234, allocations: 63.45 MB / 481.4 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02742/0.1508, allocations: 29.7 MB / 0.4991 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2369/0.3878, allocations: 7.745 MB / 0.5067 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007325/0.3951, allocations: 148.9 kB / 0.5068 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005399/0.4006, allocations: 1.42 MB / 0.5082 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01421/0.4148, allocations: 4.352 MB / 0.5124 GB, free: 9.922 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002259/0.4171, allocations: 0.4913 MB / 0.5129 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004589/0.4217, allocations: 1.929 MB / 0.5148 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004752/0.4265, allocations: 2.932 MB / 0.5177 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001985/0.4285, allocations: 0.8611 MB / 0.5185 GB, free: 9.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/0.4303, allocations: 1.131 MB / 0.5196 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004779/0.4308, allocations: 114.1 kB / 0.5197 GB, free: 9.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.4326, allocations: 0.7662 MB / 0.5205 GB, free: 9.578 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001314/0.4339, allocations: 1.301 MB / 0.5217 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008384/0.4348, allocations: 0.6972 MB / 0.5224 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006213/0.441, allocations: 4.427 MB / 0.5267 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.441, allocations: 1.094 kB / 0.5267 GB, free: 7.035 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.441, allocations: 0 / 0.5267 GB, free: 7.035 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002158/0.4412, allocations: 0 / 0.5267 GB, free: 7.035 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.009264/0.4505, allocations: 3.422 MB / 0.5301 GB, free: 4.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.4506, allocations: 9.438 kB / 0.5301 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008363/0.4589, allocations: 2.113 MB / 0.5322 GB, free: 3.961 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.4643, allocations: 1.987 MB / 0.5341 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001343/0.4644, allocations: 188.4 kB / 0.5343 GB, free: 3.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007479/0.4652, allocations: 253.4 kB / 0.5345 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01406/0.4793, allocations: 8.514 MB / 0.5428 GB, free: 160 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/0.4794, allocations: 42.38 kB / 0.5429 GB, free: 136 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003703/0.4798, allocations: 126.5 kB / 0.543 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002816/0.4826, allocations: 1.71 MB / 0.5447 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.4969, allocations: 7.172 MB / 0.5517 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.5444, allocations: 34.23 MB / 0.5851 GB, free: 9.316 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007946/0.5524, allocations: 3.296 MB / 0.5883 GB, free: 5.871 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008375/0.5608, allocations: 4.487 MB / 0.5927 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.5609, allocations: 48.66 kB / 0.5927 GB, free: 1.137 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.729e-06/0.5609, allocations: 0 / 0.5927 GB, free: 1.137 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03152/0.5924, allocations: 11.82 MB / 0.6043 GB, free: 5.125 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.677e-05/0.5926, allocations: 170.8 kB / 0.6044 GB, free: 4.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005503/0.5981, allocations: 3.836 MB / 0.6082 GB, free: 1.098 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.5984, allocations: 41.7 kB / 0.6082 GB, free: 1.051 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002053/0.6005, allocations: 2.75 MB / 0.6109 GB, free: 14.31 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007227/0.6012, allocations: 0.5214 MB / 0.6114 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/0.6014, allocations: 104 kB / 0.6115 GB, free: 13.69 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0003115/0.6018, allocations: 0.5253 MB / 0.612 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/0.6044, allocations: 1.681 MB / 0.6137 GB, free: 11.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004933/0.6093, allocations: 5.089 MB / 0.6187 GB, free: 4.664 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00445/0.6138, allocations: 2.87 MB / 0.6215 GB, free: 1.805 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.59e-05/0.6139, allocations: 36 kB / 0.6215 GB, free: 1.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01185/0.6258, allocations: 6.664 MB / 0.628 GB, free: 11.1 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.73e-05/0.6259, allocations: 56 kB / 0.6281 GB, free: 11.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001474/0.626, allocations: 124 kB / 0.6282 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000633/0.6267, allocations: 337.3 kB / 0.6285 GB, free: 10.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003931/0.6306, allocations: 1.248 MB / 0.6297 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002515/0.6332, allocations: 2.322 MB / 0.632 GB, free: 6.883 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004183/0.6374, allocations: 303.5 kB / 0.6323 GB, free: 6.586 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008735/0.6383, allocations: 328 kB / 0.6326 GB, free: 6.266 MB / 478.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.003903/0.6422, allocations: 1.783 MB / 0.6343 GB, free: 4.469 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008549/0.643, allocations: 314.1 kB / 0.6346 GB, free: 4.16 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005014/0.6481, allocations: 2.371 MB / 0.6369 GB, free: 1.773 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-05/0.6481, allocations: 19.98 kB / 0.637 GB, free: 1.754 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6481, allocations: 7.984 kB / 0.637 GB, free: 1.746 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.6481, allocations: 3.984 kB / 0.637 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6605, allocations: 5.934 MB / 0.6428 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.6605, allocations: 0 / 0.6428 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008821/0.6614, allocations: 187.8 kB / 0.6429 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/0.6636, allocations: 0.712 MB / 0.6436 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.6638, allocations: 27.95 kB / 0.6437 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005772/0.6696, allocations: 4.575 MB / 0.6481 GB, free: 6.152 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6696, allocations: 3.984 kB / 0.6481 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007088/0.6767, allocations: 4.455 MB / 0.6525 GB, free: 1.637 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001328/0.6781, allocations: 385 kB / 0.6529 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003214/0.6784, allocations: 19.95 kB / 0.6529 GB, free: 1.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001166/0.6796, allocations: 79.89 kB / 0.6529 GB, free: 1.141 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.6798, allocations: 68.52 kB / 0.653 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.87e-05/0.6799, allocations: 38.95 kB / 0.6531 GB, free: 1.039 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004271/0.6841, allocations: 2.405 MB / 0.6554 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6842, allocations: 0 / 0.6554 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004919/0.6891, allocations: 0.832 MB / 0.6562 GB, free: 13.82 MB / 0.4981 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 (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.0004317/0.6895, allocations: 156.2 kB / 0.6564 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006888/0.6964, allocations: 4.006 MB / 0.6603 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.6965, allocations: 4.75 kB / 0.6603 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.698, allocations: 1.116 MB / 0.6614 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.7, allocations: 355.3 kB / 0.6617 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.7137, allocations: 8.617 MB / 0.6701 GB, free: 15.54 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002853/0.7166, allocations: 2.855 MB / 0.6729 GB, free: 12.66 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.004233/0.7208, allocations: 1.66 MB / 0.6745 GB, free: 11 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007684/0.7216, allocations: 211.4 kB / 0.6747 GB, free: 10.79 MB / 0.5138 GB Notification: Performance of SimCode: time 1.713e-06/0.7216, allocations: 0 / 0.6747 GB, free: 10.79 MB / 0.5138 GB Notification: Performance of Templates: time 0.05901/0.7806, allocations: 29.37 MB / 0.7034 GB, free: 13.59 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","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches