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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 226.7 MB / 245.5 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009741/0.0009741, allocations: 100.4 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3581/0.3581, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3922/0.3933, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.02738/0.4208, allocations: 34.74 MB / 0.5491 GB, free: 12.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.4416, allocations: 7.922 MB / 0.5568 GB, free: 7.664 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01078/0.4524, allocations: 147.1 kB / 0.557 GB, free: 7.641 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00495/0.4574, allocations: 1.92 MB / 0.5588 GB, free: 6.758 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005945/0.4634, allocations: 1.527 MB / 0.5603 GB, free: 6.105 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.4656, allocations: 0.5539 MB / 0.5609 GB, free: 5.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008398/0.474, allocations: 4.835 MB / 0.5656 GB, free: 4.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004243/0.4783, allocations: 2.531 MB / 0.5681 GB, free: 2.734 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.4809, allocations: 1.108 MB / 0.5691 GB, free: 2.133 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002821/0.4838, allocations: 1.791 MB / 0.5709 GB, free: 344 kB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008078/0.4846, allocations: 176 kB / 0.5711 GB, free: 168 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002847/0.4874, allocations: 1.002 MB / 0.572 GB, free: 15.16 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001986/0.4894, allocations: 1.508 MB / 0.5735 GB, free: 13.65 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002915/0.4924, allocations: 1.762 MB / 0.5752 GB, free: 11.88 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00789/0.5003, allocations: 5.56 MB / 0.5807 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.5003, allocations: 0 / 0.5807 GB, free: 6.297 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.5003, allocations: 3.938 kB / 0.5807 GB, free: 6.293 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003583/0.5007, allocations: 0 / 0.5807 GB, free: 6.293 MB / 394.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.01223/0.5129, allocations: 4.034 MB / 0.5846 GB, free: 2.191 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.513, allocations: 8.031 kB / 0.5846 GB, free: 2.184 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006831/0.5198, allocations: 1.774 MB / 0.5863 GB, free: 412 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005137/0.525, allocations: 1.881 MB / 0.5882 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.5253, allocations: 193.1 kB / 0.5884 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009655/0.5262, allocations: 275.6 kB / 0.5886 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01529/0.5415, allocations: 8.428 MB / 0.5969 GB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/0.5417, allocations: 43.59 kB / 0.5969 GB, free: 4.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.542, allocations: 127.9 kB / 0.597 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002672/0.5447, allocations: 1.692 MB / 0.5987 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.5578, allocations: 7.098 MB / 0.6056 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.5973, allocations: 34.15 MB / 0.639 GB, free: 8.797 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006913/0.6043, allocations: 3.284 MB / 0.6422 GB, free: 5.359 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001842/0.6061, allocations: 1.457 MB / 0.6436 GB, free: 3.891 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00716/0.6133, allocations: 4.369 MB / 0.6478 GB, free: 15.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.6134, allocations: 51.06 kB / 0.6479 GB, free: 15.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=121): time 3.546e-06/0.6134, allocations: 0 / 0.6479 GB, free: 15.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=129): time 0.02886/0.6423, allocations: 11.52 MB / 0.6591 GB, free: 3.578 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.6424, allocations: 170.9 kB / 0.6593 GB, free: 3.375 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/0.649, allocations: 3.722 MB / 0.6629 GB, free: 15.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003307/0.6494, allocations: 45.69 kB / 0.663 GB, free: 15.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001886/0.6513, allocations: 2.748 MB / 0.6657 GB, free: 12.82 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007218/0.652, allocations: 0.517 MB / 0.6662 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001291/0.6533, allocations: 1.079 MB / 0.6672 GB, free: 11.2 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.6534, allocations: 309.3 kB / 0.6675 GB, free: 10.9 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002237/0.6556, allocations: 1.709 MB / 0.6692 GB, free: 9.184 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004263/0.6599, allocations: 5.131 MB / 0.6742 GB, free: 2.324 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2846/0.9445, allocations: 7.413 MB / 0.6814 GB, free: 122.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.909e-05/0.9447, allocations: 32.38 kB / 0.6815 GB, free: 122.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01066/0.9553, allocations: 6.725 MB / 0.688 GB, free: 120.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-05/0.9555, allocations: 60.09 kB / 0.6881 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001402/0.9556, allocations: 127.4 kB / 0.6882 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006164/0.9562, allocations: 317.7 kB / 0.6885 GB, free: 120 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003532/0.9598, allocations: 1.242 MB / 0.6897 GB, free: 119.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.9621, allocations: 2.284 MB / 0.692 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/0.9661, allocations: 292.6 kB / 0.6922 GB, free: 118.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004437/0.9665, allocations: 335.9 kB / 0.6926 GB, free: 118.1 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 (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.002816/0.9693, allocations: 1.792 MB / 0.6943 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005765/0.9699, allocations: 312 kB / 0.6946 GB, free: 117.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004591/0.9745, allocations: 2.362 MB / 0.6969 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-05/0.9746, allocations: 17.94 kB / 0.6969 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.338e-05/0.9746, allocations: 8.75 kB / 0.6969 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.9746, allocations: 3.469 kB / 0.697 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/0.9879, allocations: 5.918 MB / 0.7027 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.359e-05/0.988, allocations: 2.219 kB / 0.7027 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001025/0.989, allocations: 172.2 kB / 0.7029 GB, free: 114.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002866/0.9919, allocations: 0.715 MB / 0.7036 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.9921, allocations: 29.38 kB / 0.7036 GB, free: 114.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006424/0.9985, allocations: 4.466 MB / 0.708 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.9985, allocations: 1.812 kB / 0.708 GB, free: 111.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04433/1.043, allocations: 26.04 MB / 0.7334 GB, free: 96.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005862/1.043, allocations: 368.9 kB / 0.7338 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002858/1.044, allocations: 19.94 kB / 0.7338 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009982/1.045, allocations: 67.91 kB / 0.7339 GB, free: 96.04 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002047/1.045, allocations: 68.69 kB / 0.7339 GB, free: 95.97 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/1.045, allocations: 39.98 kB / 0.734 GB, free: 95.93 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00291/1.048, allocations: 2.319 MB / 0.7362 GB, free: 93.62 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/1.048, allocations: 224 / 0.7362 GB, free: 93.62 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005299/1.053, allocations: 1.099 MB / 0.7373 GB, free: 92.53 MB / 490.7 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.0004534/1.054, allocations: 163.1 kB / 0.7374 GB, free: 92.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005956/1.06, allocations: 4.032 MB / 0.7414 GB, free: 88.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/1.06, allocations: 0 / 0.7414 GB, free: 88.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00131/1.061, allocations: 1.109 MB / 0.7425 GB, free: 87.25 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002778/1.064, allocations: 376.4 kB / 0.7428 GB, free: 86.88 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.077, allocations: 9.958 MB / 0.7526 GB, free: 76.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/1.079, allocations: 2.832 MB / 0.7553 GB, free: 74.01 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003857/1.083, allocations: 1.673 MB / 0.757 GB, free: 72.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006439/1.084, allocations: 207.4 kB / 0.7571 GB, free: 72.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/1.084, allocations: 4 kB / 0.7572 GB, free: 72.13 MB / 490.7 MB Notification: Performance of Templates: time 0.05924/1.143, allocations: 36.13 MB / 0.7924 GB, free: 36.15 MB / 490.7 MB 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@2/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