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.00105/0.00105, allocations: 108.3 kB / 16.41 MB, free: 6.473 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.00102/0.00102, allocations: 188.1 kB / 17.34 MB, free: 5.754 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.347/1.347, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.2137/0.2137, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 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.001479/0.001479, allocations: 67.91 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1752/0.1767, allocations: 57.79 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01285/0.1896, allocations: 10.28 MB / 0.4979 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009727/0.1994, allocations: 3.791 MB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002319/0.2018, allocations: 55.88 kB / 0.5017 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004011/0.2059, allocations: 1.943 MB / 0.5036 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00471/0.2106, allocations: 1.696 MB / 0.5052 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001561/0.2122, allocations: 0.616 MB / 0.5058 GB, free: 9.352 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005487/0.2177, allocations: 3.349 MB / 0.5091 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004312/0.222, allocations: 2.58 MB / 0.5116 GB, free: 3.355 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002103/0.2241, allocations: 1.25 MB / 0.5128 GB, free: 2.102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/0.2263, allocations: 1.682 MB / 0.5145 GB, free: 424 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005205/0.2269, allocations: 256 kB / 0.5147 GB, free: 168 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001962/0.2288, allocations: 1.026 MB / 0.5157 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001397/0.2303, allocations: 1.578 MB / 0.5173 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001987/0.2323, allocations: 1.841 MB / 0.5191 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006474/0.2387, allocations: 5.827 MB / 0.5248 GB, free: 5.855 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.2388, allocations: 0 / 0.5248 GB, free: 5.855 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.2388, allocations: 4 kB / 0.5248 GB, free: 5.852 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001073/0.2389, allocations: 0 / 0.5248 GB, free: 5.852 MB / 414.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.008056/0.247, allocations: 4.022 MB / 0.5287 GB, free: 1.762 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.247, allocations: 11.89 kB / 0.5287 GB, free: 1.75 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3948/0.6418, allocations: 1.772 MB / 0.5304 GB, free: 37.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005932/0.6478, allocations: 1.994 MB / 0.5324 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.648, allocations: 191.5 kB / 0.5326 GB, free: 36.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006321/0.6487, allocations: 260.2 kB / 0.5328 GB, free: 36.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01878/0.6675, allocations: 8.437 MB / 0.5411 GB, free: 33.49 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/0.6677, allocations: 43.69 kB / 0.5411 GB, free: 33.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003822/0.6681, allocations: 126.6 kB / 0.5412 GB, free: 33.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003785/0.6719, allocations: 1.695 MB / 0.5429 GB, free: 33.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/0.6888, allocations: 7.099 MB / 0.5498 GB, free: 30.93 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03763/0.7265, allocations: 34.03 MB / 0.583 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007167/0.7337, allocations: 3.284 MB / 0.5862 GB, free: 13.53 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.7358, allocations: 1.471 MB / 0.5877 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007563/0.7433, allocations: 4.356 MB / 0.5919 GB, free: 7.488 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.612e-05/0.7434, allocations: 51.94 kB / 0.592 GB, free: 7.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 4.819e-06/0.7435, allocations: 0 / 0.592 GB, free: 7.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.03079/0.7742, allocations: 11.55 MB / 0.6033 GB, free: 11.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.7744, allocations: 170.8 kB / 0.6034 GB, free: 11.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005516/0.7799, allocations: 3.733 MB / 0.6071 GB, free: 7.809 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.7801, allocations: 41.7 kB / 0.6071 GB, free: 7.762 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00232/0.7825, allocations: 2.748 MB / 0.6098 GB, free: 4.977 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006265/0.7831, allocations: 0.5209 MB / 0.6103 GB, free: 4.449 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001522/0.7846, allocations: 1.083 MB / 0.6114 GB, free: 3.355 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7848, allocations: 305.1 kB / 0.6116 GB, free: 3.055 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002565/0.7874, allocations: 1.704 MB / 0.6133 GB, free: 1.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.793, allocations: 5.131 MB / 0.6183 GB, free: 10.48 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009357/0.8024, allocations: 7.419 MB / 0.6256 GB, free: 1.359 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.56e-05/0.8025, allocations: 32 kB / 0.6256 GB, free: 1.328 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01145/0.814, allocations: 6.718 MB / 0.6322 GB, free: 10.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.918e-05/0.8141, allocations: 59.98 kB / 0.6322 GB, free: 10.54 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001224/0.8142, allocations: 124 kB / 0.6323 GB, free: 10.42 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006638/0.8149, allocations: 325.3 kB / 0.6326 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003412/0.8183, allocations: 1.244 MB / 0.6339 GB, free: 8.852 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002726/0.821, allocations: 2.493 MB / 0.6363 GB, free: 6.219 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004006/0.8251, allocations: 302 kB / 0.6366 GB, free: 5.926 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004248/0.8255, allocations: 331.9 kB / 0.6369 GB, free: 5.602 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 (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.00296/0.8285, allocations: 1.787 MB / 0.6386 GB, free: 3.801 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006144/0.8291, allocations: 311.8 kB / 0.6389 GB, free: 3.496 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.8336, allocations: 2.363 MB / 0.6412 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-05/0.8337, allocations: 16 kB / 0.6413 GB, free: 1.102 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.8337, allocations: 7.938 kB / 0.6413 GB, free: 1.094 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.8337, allocations: 8.062 kB / 0.6413 GB, free: 1.086 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.8451, allocations: 5.912 MB / 0.6471 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.8451, allocations: 4 kB / 0.6471 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008121/0.8459, allocations: 179.8 kB / 0.6472 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.8481, allocations: 0.7107 MB / 0.6479 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.992e-05/0.8482, allocations: 24 kB / 0.6479 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00664/0.8548, allocations: 4.806 MB / 0.6526 GB, free: 5.242 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.006e-06/0.8549, allocations: 4.031 kB / 0.6526 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007627/0.8625, allocations: 4.329 MB / 0.6569 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/0.8645, allocations: 0.5281 MB / 0.6574 GB, free: 332 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001015/0.8655, allocations: 20 kB / 0.6574 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001771/0.8673, allocations: 68.02 kB / 0.6575 GB, free: 244 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/0.8675, allocations: 84.44 kB / 0.6576 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.8676, allocations: 31.98 kB / 0.6576 GB, free: 124 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005214/0.8729, allocations: 2.335 MB / 0.6599 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8729, allocations: 0 / 0.6599 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005546/0.8784, allocations: 0.8191 MB / 0.6607 GB, free: 12.98 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 (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.0006231/0.8791, allocations: 148.3 kB / 0.6608 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00728/0.8864, allocations: 4.045 MB / 0.6648 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.8864, allocations: 0 / 0.6648 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/0.8884, allocations: 1.116 MB / 0.6658 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.8919, allocations: 400.1 kB / 0.6662 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.9079, allocations: 7.276 MB / 0.6733 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005582/0.9135, allocations: 2.785 MB / 0.6761 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004493/0.918, allocations: 1.652 MB / 0.6777 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/0.9191, allocations: 207.4 kB / 0.6779 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of SimCode: time 9.31e-07/0.9191, allocations: 0 / 0.6779 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of Templates: time 0.06638/0.9855, allocations: 28.02 MB / 0.7052 GB, free: 15.31 MB / 0.545 GB 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