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.001386/0.001386, allocations: 108.2 kB / 17.03 MB, free: 5.664 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.0011/0.0011, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.544/1.544, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2121/0.2121, allocations: 43.53 MB / 314.7 MB, free: 480 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.001489/0.001489, allocations: 63.34 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.101, allocations: 57.79 MB / 442 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.008836/0.1099, allocations: 10.28 MB / 452.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007792/0.1177, allocations: 3.776 MB / 456 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00261/0.1204, allocations: 55.88 kB / 456.1 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.1246, allocations: 1.954 MB / 458 MB, free: 6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004286/0.129, allocations: 1.657 MB / 459.7 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.1305, allocations: 0.6043 MB / 460.3 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004729/0.1352, allocations: 3.357 MB / 463.7 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003124/0.1383, allocations: 2.576 MB / 466.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.1402, allocations: 1.25 MB / 467.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002245/0.1425, allocations: 1.674 MB / 469.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005172/0.143, allocations: 256 kB / 469.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001811/0.1449, allocations: 1.026 MB / 470.4 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001428/0.1463, allocations: 1.554 MB / 472 MB, free: 7.969 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001969/0.1483, allocations: 1.841 MB / 473.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006564/0.1549, allocations: 5.827 MB / 479.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1549, allocations: 0 / 479.7 MB, free: 276 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1549, allocations: 0 / 479.7 MB, free: 276 kB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001522/0.1551, allocations: 0 / 479.7 MB, free: 276 kB / 350.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.008766/0.1638, allocations: 4.022 MB / 483.7 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.1639, allocations: 11.89 kB / 483.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005917/0.1698, allocations: 1.778 MB / 485.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004423/0.1743, allocations: 2.002 MB / 487.5 MB, free: 8.32 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1744, allocations: 193.2 kB / 487.7 MB, free: 8.129 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005776/0.175, allocations: 251.8 kB / 487.9 MB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.1877, allocations: 8.44 MB / 496.3 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-05/0.1878, allocations: 39.64 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.1881, allocations: 123.9 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00257/0.1907, allocations: 1.703 MB / 498.2 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.2035, allocations: 7.098 MB / 0.4935 GB, free: 5.805 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04157/0.2451, allocations: 34.03 MB / 0.5267 GB, free: 2.781 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2021/0.4473, allocations: 3.269 MB / 0.5299 GB, free: 86.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001857/0.4491, allocations: 1.46 MB / 0.5313 GB, free: 86.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006421/0.4556, allocations: 4.362 MB / 0.5356 GB, free: 85.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.4556, allocations: 48.5 kB / 0.5356 GB, free: 85.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=121): time 3.066e-06/0.4556, allocations: 0.8438 kB / 0.5356 GB, free: 85.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=129): time 0.02665/0.4823, allocations: 11.54 MB / 0.5469 GB, free: 81.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.014e-05/0.4824, allocations: 169.7 kB / 0.547 GB, free: 80.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004338/0.4867, allocations: 3.733 MB / 0.5507 GB, free: 79.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001557/0.4869, allocations: 42.05 kB / 0.5507 GB, free: 79.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.4881, allocations: 2.751 MB / 0.5534 GB, free: 77.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/0.4885, allocations: 0.5165 MB / 0.5539 GB, free: 76.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009884/0.4895, allocations: 1.086 MB / 0.555 GB, free: 76.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.379e-05/0.4896, allocations: 307.8 kB / 0.5553 GB, free: 76.14 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001819/0.4914, allocations: 1.702 MB / 0.5569 GB, free: 75.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003232/0.4946, allocations: 5.134 MB / 0.562 GB, free: 70.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005276/0.4999, allocations: 7.411 MB / 0.5692 GB, free: 61.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-05/0.5, allocations: 36 kB / 0.5692 GB, free: 60.99 MB / 414.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.009009/0.509, allocations: 6.726 MB / 0.5758 GB, free: 54.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.292e-05/0.5091, allocations: 60 kB / 0.5758 GB, free: 54.2 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.764e-05/0.5092, allocations: 124.2 kB / 0.576 GB, free: 54.08 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005312/0.5098, allocations: 318.2 kB / 0.5763 GB, free: 53.77 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003262/0.513, allocations: 1.25 MB / 0.5775 GB, free: 52.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001904/0.5149, allocations: 2.498 MB / 0.5799 GB, free: 49.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/0.5189, allocations: 294.5 kB / 0.5802 GB, free: 49.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000573/0.5195, allocations: 336 kB / 0.5805 GB, free: 49.27 MB / 414.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.002386/0.5219, allocations: 1.794 MB / 0.5823 GB, free: 47.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/0.5226, allocations: 308 kB / 0.5826 GB, free: 47.16 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003843/0.5264, allocations: 2.367 MB / 0.5849 GB, free: 44.78 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.446e-05/0.5265, allocations: 16 kB / 0.5849 GB, free: 44.76 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.5265, allocations: 4 kB / 0.5849 GB, free: 44.76 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.5265, allocations: 7.984 kB / 0.5849 GB, free: 44.75 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0103/0.5368, allocations: 5.908 MB / 0.5907 GB, free: 38.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.5369, allocations: 0 / 0.5907 GB, free: 38.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007498/0.5376, allocations: 175.7 kB / 0.5909 GB, free: 38.63 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.5395, allocations: 0.7164 MB / 0.5916 GB, free: 37.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.5397, allocations: 27.34 kB / 0.5916 GB, free: 37.89 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004536/0.5442, allocations: 4.816 MB / 0.5963 GB, free: 32.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5442, allocations: 0.6094 kB / 0.5963 GB, free: 32.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005669/0.5499, allocations: 4.329 MB / 0.6005 GB, free: 28.58 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001559/0.5515, allocations: 0.5242 MB / 0.601 GB, free: 28.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/0.5519, allocations: 30.06 kB / 0.6011 GB, free: 28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/0.5529, allocations: 67.91 kB / 0.6011 GB, free: 27.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001888/0.5531, allocations: 68.5 kB / 0.6012 GB, free: 27.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/0.5532, allocations: 36 kB / 0.6012 GB, free: 27.84 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002986/0.5562, allocations: 2.327 MB / 0.6035 GB, free: 25.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5562, allocations: 3.938 kB / 0.6035 GB, free: 25.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004528/0.5607, allocations: 0.8293 MB / 0.6043 GB, free: 24.7 MB / 414.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.0003735/0.5611, allocations: 145.5 kB / 0.6044 GB, free: 24.55 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005061/0.5662, allocations: 4.045 MB / 0.6084 GB, free: 20.52 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.5662, allocations: 0 / 0.6084 GB, free: 20.52 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001152/0.5674, allocations: 1.116 MB / 0.6095 GB, free: 19.39 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.5696, allocations: 395.2 kB / 0.6099 GB, free: 19.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009696/0.5793, allocations: 7.274 MB / 0.617 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002128/0.5814, allocations: 2.796 MB / 0.6197 GB, free: 8.922 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003056/0.5845, allocations: 1.655 MB / 0.6213 GB, free: 7.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.5851, allocations: 207.4 kB / 0.6215 GB, free: 7.066 MB / 414.1 MB Notification: Performance of SimCode: time 7.32e-07/0.5851, allocations: 0 / 0.6215 GB, free: 7.066 MB / 414.1 MB Notification: Performance of Templates: time 0.05177/0.6369, allocations: 26.21 MB / 0.6471 GB, free: 13.08 MB / 446.1 MB 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/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