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.001573/0.001573, allocations: 108.9 kB / 18.45 MB, free: 4.602 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.001716/0.001716, allocations: 183 kB / 19.38 MB, free: 3.68 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.404/1.404, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2217/0.2217, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 59.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4038, allocations: 60.83 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01142/0.4153, allocations: 10.26 MB / 0.5296 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009644/0.425, allocations: 3.782 MB / 0.5333 GB, free: 9.508 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003176/0.4282, allocations: 54.88 kB / 0.5333 GB, free: 9.5 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005235/0.4335, allocations: 1.957 MB / 0.5353 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006631/0.4402, allocations: 1.695 MB / 0.5369 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.4424, allocations: 0.6109 MB / 0.5375 GB, free: 6.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006753/0.4492, allocations: 3.331 MB / 0.5408 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004439/0.4537, allocations: 2.577 MB / 0.5433 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002783/0.4565, allocations: 1.24 MB / 0.5445 GB, free: 2.434 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002864/0.4594, allocations: 1.678 MB / 0.5461 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000901/0.4603, allocations: 260 kB / 0.5464 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002604/0.4629, allocations: 1.03 MB / 0.5474 GB, free: 15.46 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001927/0.4648, allocations: 1.574 MB / 0.5489 GB, free: 13.89 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002991/0.4679, allocations: 1.841 MB / 0.5507 GB, free: 12.04 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007206/0.4751, allocations: 5.825 MB / 0.5564 GB, free: 6.191 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4751, allocations: 0 / 0.5564 GB, free: 6.191 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4751, allocations: 4 kB / 0.5564 GB, free: 6.188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002208/0.4753, allocations: 0 / 0.5564 GB, free: 6.188 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.009488/0.4848, allocations: 4.018 MB / 0.5603 GB, free: 2.102 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4849, allocations: 8.031 kB / 0.5603 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006641/0.4916, allocations: 1.782 MB / 0.5621 GB, free: 312 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00426/0.4958, allocations: 1.947 MB / 0.564 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.4961, allocations: 189.2 kB / 0.5642 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008355/0.4969, allocations: 255.8 kB / 0.5644 GB, free: 13.86 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01541/0.5123, allocations: 8.439 MB / 0.5727 GB, free: 4.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001707/0.5125, allocations: 39.69 kB / 0.5727 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009276/0.5135, allocations: 127.9 kB / 0.5728 GB, free: 4.59 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004411/0.5179, allocations: 1.695 MB / 0.5745 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5406, allocations: 7.098 MB / 0.5814 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07596/0.6166, allocations: 34.02 MB / 0.6146 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009813/0.6264, allocations: 3.274 MB / 0.6178 GB, free: 5.344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.6287, allocations: 1.458 MB / 0.6192 GB, free: 3.867 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007476/0.6362, allocations: 4.365 MB / 0.6235 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.867e-05/0.6363, allocations: 55.05 kB / 0.6236 GB, free: 15.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.627e-06/0.6363, allocations: 0 / 0.6236 GB, free: 15.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03144/0.6677, allocations: 11.52 MB / 0.6348 GB, free: 3.559 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.6679, allocations: 170.9 kB / 0.635 GB, free: 3.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007405/0.6753, allocations: 3.721 MB / 0.6386 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002193/0.6755, allocations: 41.7 kB / 0.6386 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/0.678, allocations: 2.748 MB / 0.6413 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006772/0.6787, allocations: 0.5209 MB / 0.6418 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001869/0.6806, allocations: 1.083 MB / 0.6429 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.6807, allocations: 305.1 kB / 0.6432 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00269/0.6834, allocations: 1.701 MB / 0.6448 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005755/0.6891, allocations: 5.131 MB / 0.6499 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008503/0.6977, allocations: 7.422 MB / 0.6571 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000106/0.6978, allocations: 32 kB / 0.6571 GB, free: 9.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01157/0.7094, allocations: 6.722 MB / 0.6637 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.7095, allocations: 56 kB / 0.6638 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001536/0.7097, allocations: 127.9 kB / 0.6639 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006525/0.7103, allocations: 320.6 kB / 0.6642 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.7143, allocations: 1.244 MB / 0.6654 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002738/0.7171, allocations: 2.5 MB / 0.6678 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/0.7207, allocations: 291.5 kB / 0.6681 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007081/0.7214, allocations: 332 kB / 0.6684 GB, free: 13.43 MB / 0.5294 GB 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.003276/0.7247, allocations: 1.793 MB / 0.6702 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006722/0.7254, allocations: 308 kB / 0.6705 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/0.7304, allocations: 2.367 MB / 0.6728 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.7304, allocations: 3.984 kB / 0.6728 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.7304, allocations: 4 kB / 0.6728 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.7317, allocations: 364.8 kB / 0.6731 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008128/0.7325, allocations: 20 kB / 0.6732 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.734, allocations: 75.89 kB / 0.6732 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/0.7342, allocations: 80.52 kB / 0.6733 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005191/0.7394, allocations: 2.82 MB / 0.6761 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004502/0.744, allocations: 3.666 MB / 0.6796 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001092/0.7451, allocations: 0.8796 MB / 0.6805 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003651/0.7487, allocations: 2.334 MB / 0.6828 GB, free: 14.65 MB / 0.545 GB Notification: Performance of Backend: time 5.51e-07/0.7487, allocations: 0 / 0.6828 GB, free: 14.65 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006519/0.7553, allocations: 3.484 MB / 0.6862 GB, free: 11.18 MB / 0.545 GB Notification: Performance of SimCode: time 0.01169/0.767, allocations: 7.659 MB / 0.6937 GB, free: 3.465 MB / 0.545 GB Notification: Performance of Templates: time 0.3584/1.125, allocations: 36.6 MB / 0.7294 GB, free: 188.4 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/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