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.001098/0.001098, allocations: 104.1 kB / 17.63 MB, free: 5.48 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.001008/0.001008, allocations: 192 kB / 18.56 MB, free: 4.562 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.274/1.274, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2076/0.2076, allocations: 44.19 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.12 kB / 408.4 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1133, allocations: 60.82 MB / 469.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01151/0.1248, allocations: 10.26 MB / 479.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.1327, allocations: 3.798 MB / 483.3 MB, free: 244 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002112/0.1348, allocations: 59.81 kB / 483.4 MB, free: 184 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004074/0.1389, allocations: 1.943 MB / 485.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004892/0.1439, allocations: 1.661 MB / 487 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001797/0.1457, allocations: 0.6082 MB / 487.6 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004934/0.1507, allocations: 3.322 MB / 490.9 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004132/0.1548, allocations: 2.588 MB / 493.5 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003522/0.1584, allocations: 1.238 MB / 494.7 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003782/0.1622, allocations: 1.674 MB / 496.4 MB, free: 3.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001118/0.1634, allocations: 252 kB / 496.6 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002461/0.1658, allocations: 1.034 MB / 497.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.1675, allocations: 1.562 MB / 499.2 MB, free: 220 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002225/0.1698, allocations: 1.829 MB / 0.4893 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007066/0.1768, allocations: 5.627 MB / 0.4948 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.1769, allocations: 0 / 0.4948 GB, free: 8.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1769, allocations: 0 / 0.4948 GB, free: 8.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.1771, allocations: 0 / 0.4948 GB, free: 8.73 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.008451/0.1856, allocations: 4.014 MB / 0.4987 GB, free: 4.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.252e-05/0.1856, allocations: 8.031 kB / 0.4987 GB, free: 4.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006011/0.1917, allocations: 1.766 MB / 0.5005 GB, free: 2.867 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004099/0.1958, allocations: 1.92 MB / 0.5023 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001507/0.196, allocations: 197.2 kB / 0.5025 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006311/0.1966, allocations: 263.7 kB / 0.5028 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2405/0.4371, allocations: 8.435 MB / 0.511 GB, free: 43.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.96e-05/0.4372, allocations: 34.25 kB / 0.5111 GB, free: 43.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003343/0.4375, allocations: 122.6 kB / 0.5112 GB, free: 43.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003716/0.4413, allocations: 1.7 MB / 0.5128 GB, free: 42.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.4554, allocations: 7.101 MB / 0.5198 GB, free: 40.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03488/0.4903, allocations: 34.14 MB / 0.5531 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006365/0.4967, allocations: 3.288 MB / 0.5563 GB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.4983, allocations: 1.464 MB / 0.5577 GB, free: 3.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005406/0.5037, allocations: 4.367 MB / 0.562 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.5037, allocations: 55.06 kB / 0.5621 GB, free: 14.72 MB / 398.1 MB Notification: Performance of pre-optimization done (n=121): time 3.527e-06/0.5037, allocations: 0 / 0.5621 GB, free: 14.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=129): time 0.02822/0.532, allocations: 11.5 MB / 0.5733 GB, free: 3.074 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.5321, allocations: 178.8 kB / 0.5735 GB, free: 2.863 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005125/0.5373, allocations: 3.717 MB / 0.5771 GB, free: 15.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.5376, allocations: 45.69 kB / 0.5771 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/0.5395, allocations: 2.748 MB / 0.5798 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006288/0.5401, allocations: 0.5209 MB / 0.5803 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001188/0.5413, allocations: 1.079 MB / 0.5814 GB, free: 10.7 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.5414, allocations: 313.1 kB / 0.5817 GB, free: 10.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002196/0.5436, allocations: 1.701 MB / 0.5833 GB, free: 8.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004349/0.548, allocations: 5.131 MB / 0.5884 GB, free: 1.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007719/0.5557, allocations: 7.415 MB / 0.5956 GB, free: 8.691 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/0.5558, allocations: 36 kB / 0.5956 GB, free: 8.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01044/0.5663, allocations: 6.72 MB / 0.6022 GB, free: 1.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.072e-05/0.5664, allocations: 59.94 kB / 0.6023 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001066/0.5665, allocations: 124 kB / 0.6024 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000619/0.5671, allocations: 321.1 kB / 0.6027 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003371/0.5705, allocations: 1.255 MB / 0.6039 GB, free: 180 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002548/0.5731, allocations: 2.497 MB / 0.6063 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/0.5766, allocations: 287.6 kB / 0.6066 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004502/0.5771, allocations: 332 kB / 0.6069 GB, free: 12.94 MB / 446.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.002468/0.5795, allocations: 1.787 MB / 0.6087 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005709/0.5801, allocations: 316 kB / 0.609 GB, free: 10.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004363/0.5845, allocations: 2.359 MB / 0.6113 GB, free: 8.453 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.506e-05/0.5845, allocations: 16 kB / 0.6113 GB, free: 8.438 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.5846, allocations: 7.984 kB / 0.6113 GB, free: 8.43 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.5846, allocations: 7.984 kB / 0.6113 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.5951, allocations: 5.925 MB / 0.6171 GB, free: 2.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.5951, allocations: 7.938 kB / 0.6171 GB, free: 2.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000815/0.5959, allocations: 171.7 kB / 0.6173 GB, free: 2.254 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/0.598, allocations: 0.7186 MB / 0.618 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.71e-05/0.5981, allocations: 24.12 kB / 0.618 GB, free: 1.508 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005603/0.6037, allocations: 4.812 MB / 0.6227 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6038, allocations: 8.094 kB / 0.6227 GB, free: 12.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006431/0.6102, allocations: 4.317 MB / 0.6269 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009351/0.6112, allocations: 360.9 kB / 0.6273 GB, free: 7.816 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003088/0.6115, allocations: 24 kB / 0.6273 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6125, allocations: 75.83 kB / 0.6274 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.6127, allocations: 68.5 kB / 0.6274 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-05/0.6128, allocations: 39.98 kB / 0.6275 GB, free: 7.613 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003206/0.616, allocations: 2.319 MB / 0.6297 GB, free: 5.309 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.616, allocations: 0 / 0.6297 GB, free: 5.309 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00433/0.6204, allocations: 0.819 MB / 0.6305 GB, free: 4.492 MB / 462.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 (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.0004691/0.6208, allocations: 144.5 kB / 0.6307 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008063/0.6289, allocations: 4.427 MB / 0.635 GB, free: 15.95 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/0.629, allocations: 4.375 kB / 0.635 GB, free: 15.94 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.6305, allocations: 1.115 MB / 0.6361 GB, free: 14.82 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002528/0.633, allocations: 390.9 kB / 0.6365 GB, free: 14.44 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01664/0.6496, allocations: 7.361 MB / 0.6436 GB, free: 7.047 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006013/0.6557, allocations: 2.777 MB / 0.6464 GB, free: 4.246 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.005683/0.6615, allocations: 1.668 MB / 0.648 GB, free: 2.574 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001197/0.6627, allocations: 207.4 kB / 0.6482 GB, free: 2.375 MB / 478.1 MB Notification: Performance of SimCode: time 1.553e-06/0.6627, allocations: 4 kB / 0.6482 GB, free: 2.371 MB / 478.1 MB Notification: Performance of Templates: time 0.06837/0.7311, allocations: 31.06 MB / 0.6785 GB, free: 3.426 MB / 0.4981 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches