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.001229/0.001229, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00127/0.00127, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1915/0.1915, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 75.88 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2934, allocations: 62.44 MB / 0.5316 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007208/0.3007, allocations: 6.781 MB / 0.5383 GB, free: 8.289 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004415/0.3051, allocations: 2.43 MB / 0.5406 GB, free: 6.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006513/0.3058, allocations: 31.03 kB / 0.5407 GB, free: 6.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001896/0.3077, allocations: 1.057 MB / 0.5417 GB, free: 5.672 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001762/0.3095, allocations: 0.8526 MB / 0.5425 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.3103, allocations: 309.9 kB / 0.5428 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002146/0.3124, allocations: 1.867 MB / 0.5447 GB, free: 3.832 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001381/0.3138, allocations: 1.255 MB / 0.5459 GB, free: 3.082 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008987/0.3147, allocations: 0.7045 MB / 0.5466 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.3158, allocations: 0.9653 MB / 0.5475 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.316, allocations: 128 kB / 0.5476 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001173/0.3172, allocations: 0.741 MB / 0.5484 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007334/0.318, allocations: 0.9233 MB / 0.5493 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000895/0.3189, allocations: 1.121 MB / 0.5504 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003435/0.3223, allocations: 3.715 MB / 0.554 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3223, allocations: 0 / 0.554 GB, free: 10.8 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3223, allocations: 0 / 0.554 GB, free: 10.8 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.355e-05/0.3224, allocations: 0 / 0.554 GB, free: 10.8 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.003849/0.3262, allocations: 2.653 MB / 0.5566 GB, free: 8.086 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.3263, allocations: 8.031 kB / 0.5566 GB, free: 8.078 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004552/0.3308, allocations: 1.569 MB / 0.5581 GB, free: 6.504 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001601/0.3325, allocations: 1.077 MB / 0.5592 GB, free: 5.387 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.094e-05/0.3325, allocations: 119.2 kB / 0.5593 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002846/0.3328, allocations: 163.9 kB / 0.5594 GB, free: 5.109 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007662/0.3405, allocations: 6.174 MB / 0.5655 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.601e-05/0.3406, allocations: 35.73 kB / 0.5655 GB, free: 14.41 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002021/0.3408, allocations: 79.88 kB / 0.5656 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001992/0.3428, allocations: 1.445 MB / 0.567 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008163/0.351, allocations: 5.389 MB / 0.5722 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02326/0.3743, allocations: 24.76 MB / 0.5964 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.3784, allocations: 2.343 MB / 0.5987 GB, free: 11.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.3795, allocations: 0.9847 MB / 0.5997 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003388/0.3799, allocations: 342.9 kB / 0.6 GB, free: 10.04 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3799, allocations: 42.56 kB / 0.6 GB, free: 9.992 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.636e-06/0.3799, allocations: 0 / 0.6 GB, free: 9.992 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02079/0.4007, allocations: 8.428 MB / 0.6083 GB, free: 1.422 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.589e-05/0.4008, allocations: 144.5 kB / 0.6084 GB, free: 1.25 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/0.4046, allocations: 2.635 MB / 0.611 GB, free: 14.59 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001068/0.4047, allocations: 41.7 kB / 0.611 GB, free: 14.54 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001335/0.4061, allocations: 2.016 MB / 0.613 GB, free: 12.5 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.4065, allocations: 434.7 kB / 0.6134 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/0.4077, allocations: 0.8648 MB / 0.6143 GB, free: 11.19 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001002/0.4078, allocations: 305.1 kB / 0.6145 GB, free: 10.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001863/0.4097, allocations: 1.336 MB / 0.6158 GB, free: 9.543 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003576/0.4133, allocations: 4.112 MB / 0.6199 GB, free: 4.027 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00587/0.4192, allocations: 5.932 MB / 0.6257 GB, free: 12.71 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.799e-05/0.4193, allocations: 28 kB / 0.6257 GB, free: 12.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008435/0.4277, allocations: 5.487 MB / 0.631 GB, free: 7.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/0.4278, allocations: 48 kB / 0.6311 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/0.428, allocations: 100 kB / 0.6312 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/0.429, allocations: 461.2 kB / 0.6316 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.4316, allocations: 0.9747 MB / 0.6326 GB, free: 5.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003826/0.4354, allocations: 3.68 MB / 0.6362 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002418/0.4379, allocations: 223.5 kB / 0.6364 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005211/0.4384, allocations: 272 kB / 0.6366 GB, free: 1.312 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.002294/0.4407, allocations: 1.364 MB / 0.638 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004665/0.4412, allocations: 217.1 kB / 0.6382 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002402/0.4436, allocations: 1.322 MB / 0.6395 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.4436, allocations: 12 kB / 0.6395 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.106e-05/0.4436, allocations: 4 kB / 0.6395 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.4437, allocations: 3.984 kB / 0.6395 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007157/0.4508, allocations: 4.202 MB / 0.6436 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4509, allocations: 4 kB / 0.6436 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005928/0.4515, allocations: 139.8 kB / 0.6437 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008458/0.4523, allocations: 316.5 kB / 0.644 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.014e-05/0.4524, allocations: 16 kB / 0.644 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003342/0.4557, allocations: 3.073 MB / 0.647 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.4558, allocations: 0 / 0.647 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.4599, allocations: 3.069 MB / 0.65 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.4605, allocations: 282.1 kB / 0.6503 GB, free: 3.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/0.4608, allocations: 12 kB / 0.6503 GB, free: 3.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008222/0.4617, allocations: 56.06 kB / 0.6504 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.4618, allocations: 52.36 kB / 0.6504 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.4619, allocations: 28 kB / 0.6505 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002954/0.4649, allocations: 1.621 MB / 0.652 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4649, allocations: 0 / 0.652 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003483/0.4684, allocations: 0.5898 MB / 0.6526 GB, free: 0.6641 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (77): * Single equations (assignments): 73 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004504/0.4688, allocations: 147 kB / 0.6528 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00525/0.4741, allocations: 3.232 MB / 0.6559 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4741, allocations: 192 / 0.6559 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.4753, allocations: 0.8701 MB / 0.6568 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.4768, allocations: 205 kB / 0.657 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009772/0.4866, allocations: 5.725 MB / 0.6625 GB, free: 6.418 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/0.489, allocations: 2.167 MB / 0.6647 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.4896, allocations: 195.4 kB / 0.6649 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.4896, allocations: 0 / 0.6649 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of Templates: time 0.06118/0.5508, allocations: 46.05 MB / 0.7098 GB, free: 6.02 MB / 0.5606 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