Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 113.5 kB / 17.08 MB, free: 5.961 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.001228/0.001228, allocations: 198.4 kB / 18.02 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.305/1.305, allocations: 205.1 MB / 223.9 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2011/0.2011, allocations: 43.53 MB / 314.8 MB, free: 444 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 61.62 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1191, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008057/0.1272, allocations: 6.816 MB / 0.4952 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004823/0.132, allocations: 2.388 MB / 0.4975 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.1331, allocations: 35.94 kB / 0.4975 GB, free: 2.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002338/0.1355, allocations: 1.031 MB / 0.4985 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002282/0.1378, allocations: 0.8362 MB / 0.4994 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009221/0.1388, allocations: 299.2 kB / 0.4997 GB, free: 376 kB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.1415, allocations: 1.911 MB / 0.5015 GB, free: 14.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001655/0.1431, allocations: 1.256 MB / 0.5027 GB, free: 13.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001047/0.1442, allocations: 0.716 MB / 0.5034 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.1454, allocations: 0.9691 MB / 0.5044 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002844/0.1457, allocations: 128 kB / 0.5045 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001334/0.147, allocations: 0.7098 MB / 0.5052 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007836/0.1478, allocations: 0.9426 MB / 0.5061 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1488, allocations: 1.141 MB / 0.5072 GB, free: 8.551 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003364/0.1522, allocations: 3.736 MB / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1522, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1523, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.445e-05/0.1523, allocations: 0 / 0.5109 GB, free: 4.801 MB / 398.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.00436/0.1567, allocations: 2.653 MB / 0.5135 GB, free: 2.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1567, allocations: 15.89 kB / 0.5135 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005228/0.162, allocations: 1.561 MB / 0.515 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.1641, allocations: 1.081 MB / 0.5161 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.1642, allocations: 123.2 kB / 0.5162 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002845/0.1644, allocations: 164 kB / 0.5163 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008576/0.173, allocations: 6.19 MB / 0.5224 GB, free: 8.418 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.077e-05/0.1731, allocations: 23.56 kB / 0.5224 GB, free: 8.398 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002219/0.1734, allocations: 79.89 kB / 0.5225 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.1758, allocations: 1.441 MB / 0.5239 GB, free: 6.871 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0092/0.185, allocations: 5.397 MB / 0.5292 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.247/0.432, allocations: 24.76 MB / 0.5533 GB, free: 19.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.4369, allocations: 2.342 MB / 0.5556 GB, free: 18.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001251/0.4382, allocations: 0.9918 MB / 0.5566 GB, free: 17.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002897/0.4385, allocations: 325.6 kB / 0.5569 GB, free: 17.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.4386, allocations: 47.27 kB / 0.557 GB, free: 17.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 4.458e-06/0.4386, allocations: 0 / 0.557 GB, free: 17.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02162/0.4602, allocations: 8.455 MB / 0.5652 GB, free: 13.89 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.4603, allocations: 140.7 kB / 0.5653 GB, free: 13.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003407/0.4637, allocations: 2.637 MB / 0.5679 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.4639, allocations: 43.61 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/0.4647, allocations: 2.032 MB / 0.5699 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.465, allocations: 436.9 kB / 0.5704 GB, free: 10.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008981/0.4659, allocations: 0.8616 MB / 0.5712 GB, free: 10.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.134e-05/0.4659, allocations: 306.2 kB / 0.5715 GB, free: 9.828 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001575/0.4675, allocations: 1.332 MB / 0.5728 GB, free: 9.195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002523/0.4701, allocations: 4.103 MB / 0.5768 GB, free: 4.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004628/0.4747, allocations: 5.942 MB / 0.5826 GB, free: 15.01 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.743e-05/0.4748, allocations: 31.5 kB / 0.5826 GB, free: 15.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008803/0.4836, allocations: 5.476 MB / 0.588 GB, free: 9.566 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.689e-05/0.4837, allocations: 48.22 kB / 0.588 GB, free: 9.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001165/0.4838, allocations: 100 kB / 0.5881 GB, free: 9.422 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00108/0.4849, allocations: 464.4 kB / 0.5886 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.4877, allocations: 0.9779 MB / 0.5895 GB, free: 7.988 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004447/0.4922, allocations: 3.667 MB / 0.5931 GB, free: 4.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003094/0.4953, allocations: 238.3 kB / 0.5933 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/0.4959, allocations: 268.5 kB / 0.5936 GB, free: 3.699 MB / 430.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.002157/0.498, allocations: 1.376 MB / 0.5949 GB, free: 2.309 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005712/0.4986, allocations: 213.2 kB / 0.5951 GB, free: 2.098 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/0.5011, allocations: 1.326 MB / 0.5964 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.99e-05/0.5011, allocations: 13.59 kB / 0.5964 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.5011, allocations: 7.938 kB / 0.5965 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5011, allocations: 7.984 kB / 0.5965 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008767/0.5099, allocations: 4.184 MB / 0.6005 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.51, allocations: 4 kB / 0.6006 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.5106, allocations: 139.8 kB / 0.6007 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009381/0.5116, allocations: 324.4 kB / 0.601 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/0.5117, allocations: 16 kB / 0.601 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004003/0.5157, allocations: 3.063 MB / 0.604 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/0.5157, allocations: 3.938 kB / 0.604 GB, free: 8.828 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004967/0.5207, allocations: 3.07 MB / 0.607 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.5218, allocations: 406.1 kB / 0.6074 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004899/0.5223, allocations: 20.86 kB / 0.6074 GB, free: 5.305 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5234, allocations: 51.88 kB / 0.6075 GB, free: 5.254 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/0.5236, allocations: 48.31 kB / 0.6075 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-05/0.5237, allocations: 35.36 kB / 0.6075 GB, free: 5.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003282/0.527, allocations: 1.633 MB / 0.6091 GB, free: 3.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.527, allocations: 4.062 kB / 0.6091 GB, free: 3.527 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00372/0.5307, allocations: 0.5964 MB / 0.6097 GB, free: 2.934 MB / 446.1 MB 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.0004066/0.5311, allocations: 141.7 kB / 0.6099 GB, free: 2.797 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005206/0.5363, allocations: 3.228 MB / 0.613 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5364, allocations: 0 / 0.613 GB, free: 15.58 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.5376, allocations: 0.8678 MB / 0.6139 GB, free: 14.7 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.5395, allocations: 200.6 kB / 0.614 GB, free: 14.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5499, allocations: 5.733 MB / 0.6196 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002795/0.5528, allocations: 2.185 MB / 0.6218 GB, free: 6.516 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006646/0.5535, allocations: 191.4 kB / 0.622 GB, free: 6.328 MB / 462.1 MB Notification: Performance of SimCode: time 1.413e-06/0.5535, allocations: 0 / 0.622 GB, free: 6.328 MB / 462.1 MB Notification: Performance of Templates: time 0.06946/0.623, allocations: 45.73 MB / 0.6666 GB, free: 8.586 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches