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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001251/0.001251, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 246.9 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.2096/0.2096, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001499, allocations: 71.88 kB / 480.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3021, allocations: 62.43 MB / 0.5305 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007416/0.3096, allocations: 6.772 MB / 0.5371 GB, free: 8.113 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004698/0.3143, allocations: 2.431 MB / 0.5395 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008256/0.3152, allocations: 35.06 kB / 0.5395 GB, free: 6.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.3173, allocations: 1.062 MB / 0.5406 GB, free: 5.492 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.3195, allocations: 0.8289 MB / 0.5414 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008086/0.3203, allocations: 302.3 kB / 0.5416 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.3227, allocations: 1.867 MB / 0.5435 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.3243, allocations: 1.258 MB / 0.5447 GB, free: 2.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.3254, allocations: 0.7028 MB / 0.5454 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.3266, allocations: 0.9653 MB / 0.5463 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002576/0.3269, allocations: 128 kB / 0.5465 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.3281, allocations: 0.7371 MB / 0.5472 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007583/0.3289, allocations: 0.9232 MB / 0.5481 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009601/0.3299, allocations: 1.129 MB / 0.5492 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003551/0.3334, allocations: 3.709 MB / 0.5528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3335, allocations: 0 / 0.5528 GB, free: 10.89 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3335, allocations: 3.938 kB / 0.5528 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.704e-05/0.3335, allocations: 0 / 0.5528 GB, free: 10.88 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.004253/0.3378, allocations: 2.65 MB / 0.5554 GB, free: 8.176 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.3379, allocations: 12.03 kB / 0.5554 GB, free: 8.164 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004987/0.3384, allocations: 458.4 kB / 0.5558 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004843/0.3432, allocations: 1.561 MB / 0.5574 GB, free: 6.141 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001772/0.345, allocations: 1.084 MB / 0.5584 GB, free: 5.016 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.119e-05/0.3451, allocations: 119.3 kB / 0.5585 GB, free: 4.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000342/0.3454, allocations: 163.7 kB / 0.5587 GB, free: 4.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008198/0.3537, allocations: 6.171 MB / 0.5647 GB, free: 14.08 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.448e-05/0.3538, allocations: 35.73 kB / 0.5648 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002419/0.354, allocations: 79.89 kB / 0.5648 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002162/0.3562, allocations: 1.441 MB / 0.5662 GB, free: 12.52 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008468/0.3647, allocations: 5.4 MB / 0.5715 GB, free: 7.117 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02553/0.3902, allocations: 24.75 MB / 0.5957 GB, free: 13.55 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00431/0.3946, allocations: 2.351 MB / 0.598 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001095/0.3957, allocations: 0.9975 MB / 0.599 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003429/0.3961, allocations: 335 kB / 0.5993 GB, free: 9.668 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.3961, allocations: 42.55 kB / 0.5993 GB, free: 9.617 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.787e-06/0.3961, allocations: 0 / 0.5993 GB, free: 9.617 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02116/0.4173, allocations: 8.425 MB / 0.6075 GB, free: 1.047 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.236e-05/0.4174, allocations: 140.5 kB / 0.6077 GB, free: 0.8789 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003188/0.4206, allocations: 2.639 MB / 0.6103 GB, free: 14.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001431/0.4208, allocations: 41.7 kB / 0.6103 GB, free: 14.17 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001225/0.422, allocations: 2.02 MB / 0.6123 GB, free: 12.12 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004143/0.4224, allocations: 434.7 kB / 0.6127 GB, free: 11.69 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009921/0.4234, allocations: 0.861 MB / 0.6135 GB, free: 10.81 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.4236, allocations: 301.1 kB / 0.6138 GB, free: 10.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001889/0.4255, allocations: 1.336 MB / 0.6151 GB, free: 9.172 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/0.429, allocations: 4.108 MB / 0.6191 GB, free: 3.66 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005894/0.4349, allocations: 5.93 MB / 0.6249 GB, free: 12.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/0.435, allocations: 28 kB / 0.6249 GB, free: 12.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009175/0.4442, allocations: 5.498 MB / 0.6303 GB, free: 6.816 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.4443, allocations: 48 kB / 0.6304 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.4444, allocations: 100.9 kB / 0.6305 GB, free: 6.672 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4455, allocations: 460.5 kB / 0.6309 GB, free: 6.219 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00274/0.4482, allocations: 0.9785 MB / 0.6318 GB, free: 5.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003775/0.452, allocations: 3.669 MB / 0.6354 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/0.4547, allocations: 231.5 kB / 0.6356 GB, free: 1.203 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004971/0.4553, allocations: 272 kB / 0.6359 GB, free: 0.9375 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.001848/0.4571, allocations: 1.36 MB / 0.6372 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003845/0.4575, allocations: 221.2 kB / 0.6374 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002201/0.4597, allocations: 1.325 MB / 0.6387 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.539e-05/0.4598, allocations: 12 kB / 0.6388 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.4598, allocations: 4 kB / 0.6388 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4598, allocations: 7.922 kB / 0.6388 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.4666, allocations: 4.198 MB / 0.6429 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.4667, allocations: 0 / 0.6429 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000626/0.4673, allocations: 139.8 kB / 0.643 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008388/0.4681, allocations: 320.5 kB / 0.6433 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/0.4682, allocations: 12 kB / 0.6433 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/0.4714, allocations: 3.074 MB / 0.6463 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4714, allocations: 0 / 0.6463 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003979/0.4754, allocations: 3.066 MB / 0.6493 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.476, allocations: 286.2 kB / 0.6496 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4762, allocations: 12 kB / 0.6496 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006967/0.4769, allocations: 47.94 kB / 0.6496 GB, free: 2.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.477, allocations: 52.36 kB / 0.6497 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.674e-05/0.4771, allocations: 31.98 kB / 0.6497 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002283/0.4794, allocations: 1.621 MB / 0.6513 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.784e-06/0.4794, allocations: 0 / 0.6513 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003077/0.4825, allocations: 0.5975 MB / 0.6519 GB, free: 288 kB / 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.004228/0.4868, allocations: 3.686 MB / 0.6555 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004571/0.4914, allocations: 3.233 MB / 0.6586 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.4914, allocations: 0.625 kB / 0.6586 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.4925, allocations: 0.8638 MB / 0.6595 GB, free: 8.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.4939, allocations: 215.6 kB / 0.6597 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03788/0.5317, allocations: 28.27 MB / 0.6873 GB, free: 8.242 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002099/0.5339, allocations: 2.167 MB / 0.6894 GB, free: 6.043 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002804/0.5367, allocations: 1.387 MB / 0.6908 GB, free: 4.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/0.5381, allocations: 1.023 MB / 0.6918 GB, free: 3.625 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.5381, allocations: 0 / 0.6918 GB, free: 3.625 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2859/0.824, allocations: 38.92 MB / 0.7298 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.7/20.52, allocations: 10.5 kB / 0.7298 GB, free: 181.6 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > 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