Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.0.0_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.001378/0.001378, allocations: 114.2 kB / 18.45 MB, free: 4.598 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.001219/0.001219, allocations: 187.9 kB / 19.38 MB, free: 3.668 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.468/1.468, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2166/0.2166, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 55.91 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.384, allocations: 60.82 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007357/0.3914, allocations: 6.814 MB / 0.5262 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005455/0.3968, allocations: 2.391 MB / 0.5285 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009711/0.3978, allocations: 31.38 kB / 0.5286 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.4002, allocations: 1.048 MB / 0.5296 GB, free: 12.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002915/0.4031, allocations: 0.88 MB / 0.5305 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009182/0.4041, allocations: 300.1 kB / 0.5307 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002839/0.4069, allocations: 1.896 MB / 0.5326 GB, free: 10.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.4083, allocations: 1.085 MB / 0.5337 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001103/0.4094, allocations: 0.7101 MB / 0.5343 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.4108, allocations: 0.9674 MB / 0.5353 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003818/0.4112, allocations: 129.1 kB / 0.5354 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001926/0.4131, allocations: 0.7268 MB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.4146, allocations: 0.9608 MB / 0.5371 GB, free: 8.223 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001805/0.4164, allocations: 1.139 MB / 0.5382 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007454/0.4239, allocations: 3.768 MB / 0.5419 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4239, allocations: 0 / 0.5419 GB, free: 4.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4239, allocations: 1.156 kB / 0.5419 GB, free: 4.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001124/0.424, allocations: 0 / 0.5419 GB, free: 4.773 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.008528/0.4325, allocations: 2.737 MB / 0.5445 GB, free: 2.371 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.4326, allocations: 8.031 kB / 0.5445 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009537/0.4421, allocations: 1.575 MB / 0.5461 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004192/0.4463, allocations: 1.085 MB / 0.5471 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.4465, allocations: 123.2 kB / 0.5473 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007289/0.4472, allocations: 152 kB / 0.5474 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01631/0.4635, allocations: 6.186 MB / 0.5534 GB, free: 8.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.771e-05/0.4636, allocations: 35.64 kB / 0.5535 GB, free: 8.676 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003821/0.464, allocations: 79.89 kB / 0.5536 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003992/0.468, allocations: 1.437 MB / 0.555 GB, free: 7.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.4834, allocations: 5.393 MB / 0.5602 GB, free: 1.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04245/0.5259, allocations: 24.82 MB / 0.5845 GB, free: 8.145 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/0.5307, allocations: 2.265 MB / 0.5867 GB, free: 5.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.532, allocations: 0.8844 MB / 0.5875 GB, free: 4.836 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004054/0.5324, allocations: 319.2 kB / 0.5878 GB, free: 4.469 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/0.5325, allocations: 46.67 kB / 0.5879 GB, free: 4.414 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.266e-06/0.5325, allocations: 3.938 kB / 0.5879 GB, free: 4.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02375/0.5562, allocations: 8.547 MB / 0.5962 GB, free: 11.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.645e-05/0.5563, allocations: 148.5 kB / 0.5964 GB, free: 11.55 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003706/0.56, allocations: 2.652 MB / 0.599 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.5601, allocations: 37.7 kB / 0.599 GB, free: 8.836 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001676/0.5618, allocations: 2.108 MB / 0.6011 GB, free: 6.707 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005268/0.5623, allocations: 452.7 kB / 0.6015 GB, free: 6.262 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001167/0.5635, allocations: 0.8734 MB / 0.6023 GB, free: 5.375 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.5636, allocations: 305.1 kB / 0.6026 GB, free: 5.074 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.5657, allocations: 1.336 MB / 0.6039 GB, free: 3.73 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004401/0.5701, allocations: 4.112 MB / 0.608 GB, free: 14.21 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007222/0.5773, allocations: 5.934 MB / 0.6137 GB, free: 6.902 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.531e-05/0.5773, allocations: 28 kB / 0.6138 GB, free: 6.875 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009411/0.5868, allocations: 5.497 MB / 0.6191 GB, free: 1.371 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.581e-05/0.5868, allocations: 48 kB / 0.6192 GB, free: 1.324 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.5869, allocations: 96 kB / 0.6193 GB, free: 1.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001081/0.588, allocations: 465 kB / 0.6197 GB, free: 0.7734 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002739/0.5907, allocations: 0.9785 MB / 0.6207 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/0.5952, allocations: 3.665 MB / 0.6243 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002898/0.5981, allocations: 239.7 kB / 0.6245 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004562/0.5985, allocations: 268 kB / 0.6247 GB, free: 11.49 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.002289/0.6008, allocations: 1.368 MB / 0.6261 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003898/0.6012, allocations: 234.4 kB / 0.6263 GB, free: 9.879 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002563/0.6038, allocations: 1.318 MB / 0.6276 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.45e-05/0.6038, allocations: 12 kB / 0.6276 GB, free: 8.535 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.6038, allocations: 4 kB / 0.6276 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6038, allocations: 3.984 kB / 0.6276 GB, free: 8.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008505/0.6123, allocations: 4.198 MB / 0.6317 GB, free: 4.266 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-05/0.6123, allocations: 4 kB / 0.6317 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006759/0.613, allocations: 131.9 kB / 0.6318 GB, free: 4.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008823/0.6139, allocations: 316.5 kB / 0.6321 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-05/0.614, allocations: 20 kB / 0.6322 GB, free: 3.801 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003774/0.6177, allocations: 3.071 MB / 0.6352 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.6178, allocations: 0 / 0.6352 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00457/0.6223, allocations: 3.083 MB / 0.6382 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006922/0.623, allocations: 291.4 kB / 0.6384 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.6232, allocations: 20 kB / 0.6385 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007411/0.624, allocations: 43.94 kB / 0.6385 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.6241, allocations: 56.42 kB / 0.6386 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.6242, allocations: 28 kB / 0.6386 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002575/0.6268, allocations: 1.629 MB / 0.6402 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6268, allocations: 0 / 0.6402 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003126/0.6299, allocations: 0.6053 MB / 0.6408 GB, free: 10.8 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.0003502/0.6303, allocations: 149.2 kB / 0.6409 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005347/0.6356, allocations: 3.108 MB / 0.6439 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.6356, allocations: 0 / 0.6439 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.6369, allocations: 0.8069 MB / 0.6447 GB, free: 6.723 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001514/0.6384, allocations: 200.4 kB / 0.6449 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009932/0.6483, allocations: 5.525 MB / 0.6503 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002337/0.6506, allocations: 2.167 MB / 0.6524 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003006/0.6537, allocations: 1.395 MB / 0.6538 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.6541, allocations: 155.4 kB / 0.6539 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.61e-07/0.6541, allocations: 0 / 0.6539 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.04139/0.6955, allocations: 18.33 MB / 0.6718 GB, free: 10.92 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches