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: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.412/1.412, allocations: 205.1 MB / 222.6 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3237/0.3237, allocations: 43.5 MB / 313.5 MB, free: 8.305 MB / 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.001375/0.001375, allocations: 67.91 kB / 382.1 MB, free: 8.395 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1137, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1952/0.309, allocations: 17.29 MB / 457.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006387/0.3154, allocations: 4.1 MB / 461.3 MB, free: 37.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001524/0.317, allocations: 68.53 kB / 461.4 MB, free: 37.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001626/0.3187, allocations: 1.009 MB / 462.4 MB, free: 37.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001186/0.3199, allocations: 0.7928 MB / 463.2 MB, free: 36.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000501/0.3204, allocations: 273.8 kB / 463.4 MB, free: 36.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.3221, allocations: 2.774 MB / 466.2 MB, free: 36.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.3232, allocations: 1.272 MB / 467.5 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.3236, allocations: 0.6398 MB / 468.1 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007913/0.3244, allocations: 1.063 MB / 469.2 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.3246, allocations: 94.38 kB / 469.3 MB, free: 35.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009525/0.3256, allocations: 0.7267 MB / 470 MB, free: 35.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005816/0.3262, allocations: 0.9257 MB / 470.9 MB, free: 35.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006396/0.3268, allocations: 1.124 MB / 472.1 MB, free: 34.36 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.3289, allocations: 3.541 MB / 475.6 MB, free: 33.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.329, allocations: 0 / 475.6 MB, free: 33.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.329, allocations: 0 / 475.6 MB, free: 33.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.329, allocations: 0 / 475.6 MB, free: 33.19 MB / 382.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.003023/0.332, allocations: 2.666 MB / 478.3 MB, free: 31.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.3321, allocations: 9.906 kB / 478.3 MB, free: 31.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003842/0.3325, allocations: 460.2 kB / 478.7 MB, free: 31.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00466/0.3371, allocations: 1.563 MB / 480.3 MB, free: 31.19 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.3384, allocations: 1.075 MB / 481.4 MB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.3385, allocations: 117.2 kB / 481.5 MB, free: 30.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002281/0.3387, allocations: 158.5 kB / 481.6 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/0.345, allocations: 6.179 MB / 487.8 MB, free: 27.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/0.3451, allocations: 31.95 kB / 487.8 MB, free: 27.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001969/0.3453, allocations: 82.17 kB / 487.9 MB, free: 27.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002207/0.3475, allocations: 1.439 MB / 489.4 MB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008371/0.3559, allocations: 5.387 MB / 494.7 MB, free: 25.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02273/0.3786, allocations: 24.88 MB / 0.5074 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004043/0.3827, allocations: 2.353 MB / 0.5097 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/0.3838, allocations: 0.9821 MB / 0.5107 GB, free: 4.613 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002928/0.3841, allocations: 344.2 kB / 0.511 GB, free: 4.285 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.379e-05/0.3841, allocations: 37.19 kB / 0.5111 GB, free: 4.242 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.3842, allocations: 1.719 kB / 0.5111 GB, free: 4.242 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02057/0.4047, allocations: 8.441 MB / 0.5193 GB, free: 13.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.4049, allocations: 148.5 kB / 0.5194 GB, free: 12.85 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003217/0.4081, allocations: 2.636 MB / 0.522 GB, free: 10.19 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 9.684e-05/0.4082, allocations: 37.7 kB / 0.5221 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001184/0.4094, allocations: 2.029 MB / 0.524 GB, free: 8.121 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003884/0.4098, allocations: 441.5 kB / 0.5245 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009143/0.4107, allocations: 0.8677 MB / 0.5253 GB, free: 6.812 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.4108, allocations: 301.1 kB / 0.5256 GB, free: 6.516 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/0.4125, allocations: 1.332 MB / 0.5269 GB, free: 5.176 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003654/0.4161, allocations: 4.108 MB / 0.5309 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006135/0.4223, allocations: 5.932 MB / 0.5367 GB, free: 8.344 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.613e-05/0.4223, allocations: 28 kB / 0.5367 GB, free: 8.316 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008197/0.4306, allocations: 5.492 MB / 0.5421 GB, free: 2.816 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.754e-05/0.4306, allocations: 48 kB / 0.5421 GB, free: 2.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.478e-05/0.4307, allocations: 96 kB / 0.5422 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001026/0.4317, allocations: 464.6 kB / 0.5427 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/0.4344, allocations: 0.9746 MB / 0.5436 GB, free: 1.242 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003843/0.4382, allocations: 3.399 MB / 0.5469 GB, free: 13.72 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002708/0.4409, allocations: 229.5 kB / 0.5472 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003077/0.4413, allocations: 272.9 kB / 0.5474 GB, free: 13.23 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.001881/0.4432, allocations: 1.372 MB / 0.5488 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.4435, allocations: 229.1 kB / 0.549 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.4456, allocations: 1.326 MB / 0.5503 GB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.4456, allocations: 15.12 kB / 0.5503 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.4456, allocations: 4 kB / 0.5503 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.4456, allocations: 3.984 kB / 0.5503 GB, free: 10.27 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006271/0.4519, allocations: 4.235 MB / 0.5544 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4519, allocations: 0 / 0.5544 GB, free: 5.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/0.4525, allocations: 139.8 kB / 0.5546 GB, free: 5.852 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008848/0.4534, allocations: 316.6 kB / 0.5549 GB, free: 5.539 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.632e-05/0.4535, allocations: 15.94 kB / 0.5549 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002916/0.4564, allocations: 2.824 MB / 0.5576 GB, free: 2.57 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4564, allocations: 7.969 kB / 0.5576 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003801/0.4602, allocations: 3.065 MB / 0.5606 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.461, allocations: 414 kB / 0.561 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002045/0.4612, allocations: 20.06 kB / 0.5611 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006755/0.4619, allocations: 47.88 kB / 0.5611 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.462, allocations: 56.36 kB / 0.5612 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-05/0.4621, allocations: 24 kB / 0.5612 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002118/0.4642, allocations: 1.633 MB / 0.5628 GB, free: 13.27 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4642, allocations: 0 / 0.5628 GB, free: 13.27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002849/0.4671, allocations: 0.6015 MB / 0.5634 GB, free: 12.66 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.004318/0.4714, allocations: 3.69 MB / 0.567 GB, free: 8.945 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004773/0.4762, allocations: 3.207 MB / 0.5701 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4762, allocations: 0 / 0.5701 GB, free: 5.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/0.4774, allocations: 0.876 MB / 0.5709 GB, free: 4.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.4789, allocations: 206.6 kB / 0.5711 GB, free: 4.664 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0405/0.5194, allocations: 31.38 MB / 0.6018 GB, free: 492 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001973/0.5214, allocations: 2.171 MB / 0.6039 GB, free: 14.28 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002845/0.5243, allocations: 1.393 MB / 0.6053 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.5255, allocations: 1.019 MB / 0.6063 GB, free: 11.86 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5255, allocations: 0 / 0.6063 GB, free: 11.86 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2363/0.7618, allocations: 40.25 MB / 0.6456 GB, free: 153.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.7619, allocations: 209.1 kB / 0.6458 GB, free: 153.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.59, allocations: 3.938 kB / 0.6458 GB, free: 153.2 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches