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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001053/0.001053, allocations: 115.6 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001265/0.001265, allocations: 204 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2106/0.2106, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0016/0.0016, allocations: 79.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3364, allocations: 62.43 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01209/0.3486, allocations: 10.24 MB / 0.5417 GB, free: 5.562 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008337/0.357, allocations: 3.799 MB / 0.5454 GB, free: 2.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001472/0.3585, allocations: 54.59 kB / 0.5454 GB, free: 2.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.3623, allocations: 1.934 MB / 0.5473 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00394/0.3662, allocations: 1.628 MB / 0.5489 GB, free: 16 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.3677, allocations: 0.6162 MB / 0.5495 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00446/0.3721, allocations: 3.364 MB / 0.5528 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.3753, allocations: 2.581 MB / 0.5553 GB, free: 9.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.3773, allocations: 1.234 MB / 0.5565 GB, free: 8.16 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/0.3799, allocations: 1.67 MB / 0.5582 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000711/0.3806, allocations: 252 kB / 0.5584 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.3828, allocations: 1.022 MB / 0.5594 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001707/0.3845, allocations: 1.562 MB / 0.5609 GB, free: 3.648 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002372/0.3869, allocations: 1.809 MB / 0.5627 GB, free: 1.828 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006953/0.3938, allocations: 5.781 MB / 0.5683 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3938, allocations: 4 kB / 0.5683 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3939, allocations: 0 / 0.5683 GB, free: 12.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001609/0.394, allocations: 0 / 0.5683 GB, free: 12.02 MB / 430.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.007151/0.4012, allocations: 3.991 MB / 0.5722 GB, free: 7.965 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.4012, allocations: 12.03 kB / 0.5722 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.4071, allocations: 1.778 MB / 0.574 GB, free: 6.168 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.4103, allocations: 1.912 MB / 0.5758 GB, free: 4.195 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001316/0.4104, allocations: 193.2 kB / 0.576 GB, free: 4.004 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/0.4109, allocations: 259.7 kB / 0.5763 GB, free: 3.75 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.4228, allocations: 8.451 MB / 0.5845 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.477e-05/0.4229, allocations: 43.59 kB / 0.5846 GB, free: 10.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003141/0.4233, allocations: 119.9 kB / 0.5847 GB, free: 10.47 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/0.426, allocations: 1.692 MB / 0.5863 GB, free: 8.773 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.4386, allocations: 7.118 MB / 0.5933 GB, free: 1.645 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03882/0.4775, allocations: 34.02 MB / 0.6265 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007493/0.485, allocations: 3.304 MB / 0.6297 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.487, allocations: 1.462 MB / 0.6312 GB, free: 9.691 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006737/0.4937, allocations: 4.444 MB / 0.6355 GB, free: 5.023 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.4938, allocations: 51.06 kB / 0.6356 GB, free: 4.965 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 3.196e-06/0.4938, allocations: 0 / 0.6356 GB, free: 4.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.02945/0.5233, allocations: 11.55 MB / 0.6468 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.911e-05/0.5234, allocations: 162.9 kB / 0.647 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005658/0.529, allocations: 3.717 MB / 0.6506 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.5292, allocations: 41.7 kB / 0.6507 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/0.5312, allocations: 2.748 MB / 0.6533 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000577/0.5318, allocations: 0.5209 MB / 0.6539 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.5333, allocations: 1.079 MB / 0.6549 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5335, allocations: 305.1 kB / 0.6552 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00262/0.5361, allocations: 1.709 MB / 0.6569 GB, free: 14.88 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005203/0.5413, allocations: 5.135 MB / 0.6619 GB, free: 8.016 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008599/0.5499, allocations: 7.432 MB / 0.6691 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-05/0.55, allocations: 32 kB / 0.6692 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of matching and sorting (n=696) (initialization): time 0.01083/0.5609, allocations: 6.726 MB / 0.6757 GB, free: 8.113 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.514e-05/0.561, allocations: 63.94 kB / 0.6758 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001385/0.5611, allocations: 123.9 kB / 0.6759 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006556/0.5618, allocations: 316.7 kB / 0.6762 GB, free: 7.617 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004095/0.5659, allocations: 1.244 MB / 0.6774 GB, free: 6.371 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/0.5685, allocations: 2.498 MB / 0.6799 GB, free: 3.734 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0033/0.5719, allocations: 291.5 kB / 0.6802 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005429/0.5724, allocations: 336 kB / 0.6805 GB, free: 3.121 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.00273/0.5751, allocations: 1.799 MB / 0.6822 GB, free: 1.309 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005861/0.5757, allocations: 308 kB / 0.6825 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004884/0.5806, allocations: 2.374 MB / 0.6848 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.5807, allocations: 3.984 kB / 0.6848 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.5807, allocations: 0 / 0.6848 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/0.5814, allocations: 361 kB / 0.6852 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/0.5819, allocations: 16.47 kB / 0.6852 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001181/0.583, allocations: 75.89 kB / 0.6853 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.5833, allocations: 76.53 kB / 0.6854 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005071/0.5883, allocations: 2.838 MB / 0.6881 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004537/0.5929, allocations: 3.675 MB / 0.6917 GB, free: 7.523 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00114/0.594, allocations: 0.8951 MB / 0.6926 GB, free: 6.629 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003752/0.5978, allocations: 2.315 MB / 0.6948 GB, free: 4.328 MB / 0.545 GB Notification: Performance of Backend: time 7.02e-07/0.5978, allocations: 0 / 0.6948 GB, free: 4.328 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007061/0.6049, allocations: 3.498 MB / 0.6983 GB, free: 0.8359 MB / 0.545 GB Notification: Performance of SimCode: time 0.01268/0.6176, allocations: 7.652 MB / 0.7057 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of Templates: time 0.2961/0.9137, allocations: 36.54 MB / 0.7414 GB, free: 179 MB / 0.5763 GB 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/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_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches