Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008786/0.0008787, allocations: 175.1 kB / 16.72 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.218/1.218, allocations: 205.4 MB / 222.9 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007678/0.0007677, allocations: 94.59 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2866/0.2866, allocations: 43.57 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.0003268, allocations: 19.98 kB / 432 MB, free: 5.832 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09705/0.0974, allocations: 58.86 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1857/0.2832, allocations: 31.44 MB / 0.51 GB, free: 28.16 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01364/0.2968, allocations: 7.432 MB / 0.5173 GB, free: 23.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004922/0.3018, allocations: 145.6 kB / 0.5174 GB, free: 23.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003414/0.3052, allocations: 1.581 MB / 0.519 GB, free: 22.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009285/0.3146, allocations: 4.869 MB / 0.5237 GB, free: 20.51 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001624/0.3162, allocations: 0.5504 MB / 0.5243 GB, free: 20.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003441/0.3196, allocations: 3.823 MB / 0.528 GB, free: 18.99 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/0.3227, allocations: 3.19 MB / 0.5311 GB, free: 17.71 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/0.3238, allocations: 1.049 MB / 0.5321 GB, free: 17.37 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.3252, allocations: 1.592 MB / 0.5337 GB, free: 16.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002497/0.3255, allocations: 114.8 kB / 0.5338 GB, free: 16.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.3268, allocations: 0.9362 MB / 0.5347 GB, free: 16.66 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009243/0.3277, allocations: 1.398 MB / 0.5361 GB, free: 16.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.3288, allocations: 1.58 MB / 0.5376 GB, free: 15.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004476/0.3333, allocations: 4.439 MB / 0.542 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3334, allocations: 0 / 0.542 GB, free: 14.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3334, allocations: 1.312 kB / 0.542 GB, free: 14.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001629/0.3335, allocations: 0 / 0.542 GB, free: 14.25 MB / 378.7 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.005777/0.3393, allocations: 3.306 MB / 0.5452 GB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.3394, allocations: 9.75 kB / 0.5452 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/0.345, allocations: 1.829 MB / 0.547 GB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003544/0.3486, allocations: 1.963 MB / 0.5489 GB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001384/0.3487, allocations: 192.3 kB / 0.5491 GB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004642/0.3492, allocations: 261.5 kB / 0.5493 GB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01237/0.3616, allocations: 8.424 MB / 0.5576 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-05/0.3617, allocations: 38.09 kB / 0.5576 GB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003164/0.362, allocations: 128.7 kB / 0.5577 GB, free: 3.973 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002376/0.3644, allocations: 1.695 MB / 0.5594 GB, free: 3.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.3758, allocations: 7.068 MB / 0.5663 GB, free: 12.35 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.4134, allocations: 34.17 MB / 0.5996 GB, free: 9.211 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006805/0.4203, allocations: 3.281 MB / 0.6028 GB, free: 5.777 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001823/0.4222, allocations: 1.459 MB / 0.6043 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006298/0.4285, allocations: 4.361 MB / 0.6085 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.4285, allocations: 51.11 kB / 0.6086 GB, free: 15.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 4.488e-06/0.4285, allocations: 0 / 0.6086 GB, free: 15.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.02743/0.456, allocations: 11.5 MB / 0.6198 GB, free: 4.027 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.4561, allocations: 174.8 kB / 0.62 GB, free: 3.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.4608, allocations: 3.71 MB / 0.6236 GB, free: 120 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001815/0.461, allocations: 49.69 kB / 0.6236 GB, free: 64 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001743/0.4628, allocations: 2.748 MB / 0.6263 GB, free: 13.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.4633, allocations: 0.521 MB / 0.6268 GB, free: 12.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.4635, allocations: 104 kB / 0.6269 GB, free: 12.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002895/0.4638, allocations: 0.5331 MB / 0.6275 GB, free: 12.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002336/0.4661, allocations: 1.681 MB / 0.6291 GB, free: 10.42 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004012/0.4701, allocations: 5.112 MB / 0.6341 GB, free: 3.578 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007305/0.4775, allocations: 7.378 MB / 0.6413 GB, free: 10.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.591e-05/0.4776, allocations: 36 kB / 0.6413 GB, free: 10.46 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01019/0.4878, allocations: 6.689 MB / 0.6479 GB, free: 3.758 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.37e-05/0.4879, allocations: 56.97 kB / 0.6479 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.911e-05/0.488, allocations: 123.9 kB / 0.648 GB, free: 3.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005504/0.4885, allocations: 324.7 kB / 0.6483 GB, free: 3.262 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0033/0.4918, allocations: 1.244 MB / 0.6496 GB, free: 2.016 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/0.4941, allocations: 2.286 MB / 0.6518 GB, free: 15.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003373/0.4975, allocations: 295.5 kB / 0.6521 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.498, allocations: 332.1 kB / 0.6524 GB, free: 14.97 MB / 490.7 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 (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.002912/0.501, allocations: 1.787 MB / 0.6541 GB, free: 13.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/0.5016, allocations: 312 kB / 0.6544 GB, free: 12.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004541/0.5061, allocations: 2.355 MB / 0.6567 GB, free: 10.49 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.5062, allocations: 19.94 kB / 0.6567 GB, free: 10.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5062, allocations: 7.938 kB / 0.6568 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.5062, allocations: 3.984 kB / 0.6568 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.5187, allocations: 5.938 MB / 0.6626 GB, free: 4.453 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.5188, allocations: 4 kB / 0.6626 GB, free: 4.449 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007829/0.5196, allocations: 163.8 kB / 0.6627 GB, free: 4.289 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/0.5217, allocations: 0.7244 MB / 0.6634 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.5218, allocations: 20.47 kB / 0.6634 GB, free: 3.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/0.5272, allocations: 4.473 MB / 0.6678 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.5272, allocations: 0 / 0.6678 GB, free: 14.94 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006377/0.5336, allocations: 4.316 MB / 0.672 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00127/0.5349, allocations: 0.536 MB / 0.6726 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006721/0.5356, allocations: 27.92 kB / 0.6726 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.5369, allocations: 71.91 kB / 0.6726 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.5371, allocations: 68.56 kB / 0.6727 GB, free: 9.871 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/0.5372, allocations: 31.98 kB / 0.6727 GB, free: 9.84 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004268/0.5415, allocations: 2.311 MB / 0.675 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of sort global known variables: time 3.2e-07/0.5415, allocations: 4 kB / 0.675 GB, free: 7.539 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005077/0.5466, allocations: 0.8242 MB / 0.6758 GB, free: 6.715 MB / 0.4948 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.0004559/0.5471, allocations: 154.9 kB / 0.676 GB, free: 6.551 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006123/0.5532, allocations: 4.005 MB / 0.6799 GB, free: 2.562 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5532, allocations: 5.75 kB / 0.6799 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.5547, allocations: 1.099 MB / 0.6809 GB, free: 1.445 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002671/0.5574, allocations: 371.6 kB / 0.6813 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1763/0.7337, allocations: 9.014 MB / 0.6901 GB, free: 152.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002495/0.7362, allocations: 2.79 MB / 0.6928 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008155/0.737, allocations: 251.8 kB / 0.6931 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of SimCode: time 4.81e-07/0.7371, allocations: 0 / 0.6931 GB, free: 151.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.07042/0.8075, allocations: 63.42 MB / 0.755 GB, free: 117.1 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches