Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001018/0.001018, allocations: 110.9 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 214.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 46.09 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 75.88 kB / 482 MB, free: 4.117 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3048, allocations: 62.44 MB / 0.5316 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007478/0.3123, allocations: 6.777 MB / 0.5383 GB, free: 8.312 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00422/0.3165, allocations: 2.427 MB / 0.5406 GB, free: 6.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004935/0.317, allocations: 30.75 kB / 0.5407 GB, free: 6.426 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001868/0.3189, allocations: 1.062 MB / 0.5417 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00157/0.3205, allocations: 0.8291 MB / 0.5425 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006623/0.3212, allocations: 306.3 kB / 0.5428 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001973/0.3232, allocations: 1.866 MB / 0.5446 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001317/0.3245, allocations: 1.257 MB / 0.5459 GB, free: 3.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008028/0.3253, allocations: 0.7062 MB / 0.5465 GB, free: 2.465 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.3264, allocations: 0.9692 MB / 0.5475 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002182/0.3267, allocations: 128 kB / 0.5476 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001172/0.3279, allocations: 0.7293 MB / 0.5483 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006747/0.3285, allocations: 0.931 MB / 0.5492 GB, free: 15.7 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008167/0.3294, allocations: 1.121 MB / 0.5503 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.3326, allocations: 3.707 MB / 0.5539 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.3326, allocations: 0 / 0.5539 GB, free: 10.86 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.575e-06/0.3326, allocations: 4 kB / 0.554 GB, free: 10.85 MB / 414.1 MB Notification: Performance of Transformations before backend: time 3.512e-05/0.3326, allocations: 3.938 kB / 0.554 GB, free: 10.85 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004078/0.3367, allocations: 2.646 MB / 0.5565 GB, free: 8.145 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3368, allocations: 12.03 kB / 0.5565 GB, free: 8.133 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004934/0.3417, allocations: 1.565 MB / 0.5581 GB, free: 6.562 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.3434, allocations: 1.088 MB / 0.5591 GB, free: 5.434 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.801e-05/0.3435, allocations: 115.3 kB / 0.5593 GB, free: 5.32 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003208/0.3438, allocations: 159.9 kB / 0.5594 GB, free: 5.164 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007707/0.3515, allocations: 6.178 MB / 0.5654 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.248e-05/0.3516, allocations: 27.75 kB / 0.5655 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002175/0.3518, allocations: 79.88 kB / 0.5655 GB, free: 14.39 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.354, allocations: 1.445 MB / 0.567 GB, free: 12.94 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008178/0.3622, allocations: 5.393 MB / 0.5722 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02398/0.3862, allocations: 24.77 MB / 0.5964 GB, free: 13.97 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004292/0.3905, allocations: 2.339 MB / 0.5987 GB, free: 11.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001122/0.3916, allocations: 0.9985 MB / 0.5997 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/0.392, allocations: 335 kB / 0.6 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.385e-05/0.392, allocations: 38.56 kB / 0.6 GB, free: 10.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.392, allocations: 0 / 0.6 GB, free: 10.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02237/0.4144, allocations: 8.436 MB / 0.6083 GB, free: 1.469 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.4145, allocations: 140.5 kB / 0.6084 GB, free: 1.301 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/0.4183, allocations: 2.631 MB / 0.611 GB, free: 14.64 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.4185, allocations: 45.7 kB / 0.611 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001378/0.4199, allocations: 2.02 MB / 0.613 GB, free: 12.54 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004077/0.4203, allocations: 430.7 kB / 0.6134 GB, free: 12.12 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.4214, allocations: 0.8687 MB / 0.6142 GB, free: 11.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.4215, allocations: 305.1 kB / 0.6145 GB, free: 10.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.4235, allocations: 1.336 MB / 0.6158 GB, free: 9.59 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/0.4272, allocations: 4.104 MB / 0.6198 GB, free: 4.082 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006115/0.4333, allocations: 5.927 MB / 0.6256 GB, free: 12.77 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.342e-05/0.4334, allocations: 32 kB / 0.6257 GB, free: 12.74 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008649/0.442, allocations: 5.491 MB / 0.631 GB, free: 7.246 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.195e-05/0.4421, allocations: 56.05 kB / 0.6311 GB, free: 7.191 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/0.4423, allocations: 100 kB / 0.6312 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.4433, allocations: 452.8 kB / 0.6316 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002683/0.446, allocations: 0.9708 MB / 0.6325 GB, free: 5.676 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004004/0.4501, allocations: 3.684 MB / 0.6361 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002377/0.4524, allocations: 223.5 kB / 0.6364 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/0.4529, allocations: 272 kB / 0.6366 GB, free: 1.367 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (527): * Single equations (assignments): 523 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001875/0.4547, allocations: 1.379 MB / 0.638 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.4551, allocations: 217.1 kB / 0.6382 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.4575, allocations: 1.322 MB / 0.6395 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.4576, allocations: 7.984 kB / 0.6395 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.4576, allocations: 4 kB / 0.6395 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.458, allocations: 274 kB / 0.6397 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.4582, allocations: 16 kB / 0.6397 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007724/0.459, allocations: 55.81 kB / 0.6398 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.4592, allocations: 56.34 kB / 0.6399 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003129/0.4623, allocations: 2.032 MB / 0.6418 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003152/0.4655, allocations: 2.858 MB / 0.6446 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008542/0.4663, allocations: 0.6752 MB / 0.6453 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002674/0.469, allocations: 1.625 MB / 0.6469 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of Backend: time 2.91e-07/0.469, allocations: 0 / 0.6469 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005691/0.4747, allocations: 2.813 MB / 0.6496 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of SimCode: time 0.008393/0.4831, allocations: 5.564 MB / 0.6551 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.04655/0.5297, allocations: 25.11 MB / 0.6796 GB, free: 5.262 MB / 0.5294 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches