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.001222/0.001222, allocations: 99.22 kB / 17 MB, free: 6.418 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.00135/0.00135, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.556/1.556, allocations: 223.3 MB / 241.9 MB, free: 14.61 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.2059/0.2059, allocations: 44.26 MB / 337.3 MB, free: 2.539 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 8.844 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1191, allocations: 61.94 MB / 471.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.03196/0.1511, allocations: 31.41 MB / 0.4912 GB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01566/0.1668, allocations: 7.439 MB / 0.4985 GB, free: 6.695 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005085/0.1719, allocations: 143.6 kB / 0.4986 GB, free: 6.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.1769, allocations: 1.567 MB / 0.5001 GB, free: 4.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.1912, allocations: 4.863 MB / 0.5049 GB, free: 104 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.247/0.4382, allocations: 0.5055 MB / 0.5054 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006527/0.4448, allocations: 3.774 MB / 0.5091 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00542/0.4502, allocations: 2.942 MB / 0.5119 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002417/0.4527, allocations: 1.045 MB / 0.513 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003013/0.4557, allocations: 1.594 MB / 0.5145 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000657/0.4564, allocations: 113.4 kB / 0.5146 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002435/0.4588, allocations: 0.8097 MB / 0.5154 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001868/0.4607, allocations: 1.393 MB / 0.5168 GB, free: 11.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.4622, allocations: 0.7006 MB / 0.5175 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006463/0.4687, allocations: 4.434 MB / 0.5218 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.746e-06/0.4687, allocations: 0 / 0.5218 GB, free: 11.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.4688, allocations: 0 / 0.5218 GB, free: 11.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000248/0.469, allocations: 5.438 kB / 0.5218 GB, free: 11.04 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.01051/0.4795, allocations: 3.35 MB / 0.5251 GB, free: 9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.4796, allocations: 10.28 kB / 0.5251 GB, free: 9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006305/0.4859, allocations: 1.82 MB / 0.5269 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.4905, allocations: 1.875 MB / 0.5287 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001435/0.4907, allocations: 195.1 kB / 0.5289 GB, free: 7.41 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007243/0.4914, allocations: 259.3 kB / 0.5291 GB, free: 7.402 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01526/0.5067, allocations: 8.418 MB / 0.5373 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001444/0.5069, allocations: 43.58 kB / 0.5374 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006633/0.5075, allocations: 121.8 kB / 0.5375 GB, free: 4.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/0.51, allocations: 1.702 MB / 0.5392 GB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01354/0.5235, allocations: 7.07 MB / 0.5461 GB, free: 15.46 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04294/0.5665, allocations: 34.14 MB / 0.5794 GB, free: 348 kB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.5737, allocations: 3.275 MB / 0.5826 GB, free: 12.91 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001997/0.5757, allocations: 1.451 MB / 0.584 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006925/0.5827, allocations: 4.368 MB / 0.5883 GB, free: 6.898 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.001e-05/0.5828, allocations: 48.88 kB / 0.5883 GB, free: 6.844 MB / 430.1 MB Notification: Performance of pre-optimization done (n=121): time 3.576e-06/0.5828, allocations: 0 / 0.5883 GB, free: 6.844 MB / 430.1 MB Notification: Performance of matching and sorting (n=129): time 0.02778/0.6106, allocations: 11.47 MB / 0.5995 GB, free: 11.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.6107, allocations: 162.9 kB / 0.5997 GB, free: 11.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005492/0.6162, allocations: 3.702 MB / 0.6033 GB, free: 7.344 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002425/0.6165, allocations: 53.7 kB / 0.6034 GB, free: 7.285 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00215/0.6186, allocations: 2.747 MB / 0.606 GB, free: 4.555 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006879/0.6193, allocations: 0.5167 MB / 0.6066 GB, free: 4.039 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.6196, allocations: 107.9 kB / 0.6067 GB, free: 3.934 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003354/0.6199, allocations: 0.5292 MB / 0.6072 GB, free: 3.398 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002658/0.6226, allocations: 1.683 MB / 0.6088 GB, free: 1.711 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.6278, allocations: 5.109 MB / 0.6138 GB, free: 10.88 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004417/0.6322, allocations: 2.881 MB / 0.6166 GB, free: 8.008 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.99e-05/0.6324, allocations: 36 kB / 0.6167 GB, free: 7.973 MB / 462.1 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01152/0.6439, allocations: 6.684 MB / 0.6232 GB, free: 1.285 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.644, allocations: 60.47 kB / 0.6232 GB, free: 1.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/0.6441, allocations: 128.1 kB / 0.6234 GB, free: 1.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.6447, allocations: 332.7 kB / 0.6237 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/0.6483, allocations: 1.248 MB / 0.6249 GB, free: 15.52 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.6507, allocations: 2.278 MB / 0.6271 GB, free: 13.11 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003561/0.6542, allocations: 295.5 kB / 0.6274 GB, free: 12.82 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005043/0.6548, allocations: 336 kB / 0.6277 GB, free: 12.49 MB / 478.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 (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.002988/0.6578, allocations: 1.798 MB / 0.6295 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005714/0.6583, allocations: 312 kB / 0.6298 GB, free: 10.38 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.6629, allocations: 2.355 MB / 0.6321 GB, free: 8.008 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.303e-05/0.6629, allocations: 12 kB / 0.6321 GB, free: 7.996 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.663, allocations: 7.984 kB / 0.6321 GB, free: 7.988 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.663, allocations: 11.98 kB / 0.6321 GB, free: 7.977 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/0.6739, allocations: 5.915 MB / 0.6379 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.6739, allocations: 128 / 0.6379 GB, free: 2.023 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007897/0.6747, allocations: 175.8 kB / 0.6381 GB, free: 1.852 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001995/0.6767, allocations: 0.7166 MB / 0.6388 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.787e-05/0.6768, allocations: 20 kB / 0.6388 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005671/0.6825, allocations: 4.474 MB / 0.6431 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6825, allocations: 0 / 0.6431 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/0.6893, allocations: 4.311 MB / 0.6474 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009739/0.6903, allocations: 376.9 kB / 0.6477 GB, free: 7.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002983/0.6906, allocations: 16 kB / 0.6477 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.6916, allocations: 75.91 kB / 0.6478 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.6918, allocations: 68.52 kB / 0.6479 GB, free: 7.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-05/0.6919, allocations: 32 kB / 0.6479 GB, free: 7.598 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003622/0.6955, allocations: 2.305 MB / 0.6501 GB, free: 5.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6955, allocations: 4.062 kB / 0.6501 GB, free: 5.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003935/0.6995, allocations: 0.8203 MB / 0.6509 GB, free: 4.484 MB / 494.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 (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.0003308/0.6998, allocations: 146.8 kB / 0.6511 GB, free: 4.336 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005927/0.7058, allocations: 4.007 MB / 0.655 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7058, allocations: 2.078 kB / 0.655 GB, free: 348 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001477/0.7073, allocations: 1.108 MB / 0.6561 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002087/0.7094, allocations: 374.8 kB / 0.6564 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01281/0.7222, allocations: 8.635 MB / 0.6649 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002975/0.7252, allocations: 2.781 MB / 0.6676 GB, free: 3.383 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004036/0.7292, allocations: 1.672 MB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005952/0.7298, allocations: 211.4 kB / 0.6694 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of SimCode: time 1.092e-06/0.7298, allocations: 0 / 0.6694 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of Templates: time 0.05431/0.7842, allocations: 28.92 MB / 0.6977 GB, free: 4.789 MB / 0.5294 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