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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 108.3 kB / 19.7 MB, free: 1.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 215.2 kB / 22.99 MB, free: 4.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.7 MB / 233.8 MB, free: 9.797 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2181/0.2181, allocations: 44.27 MB / 330.4 MB, free: 9.297 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002392/0.002392, allocations: 67.89 kB / 467.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1097/0.1121, allocations: 61.05 MB / 0.5161 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.0081/0.1202, allocations: 6.068 MB / 0.5221 GB, free: 1.074 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.1247, allocations: 2.276 MB / 0.5243 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006897/0.1254, allocations: 35.88 kB / 0.5243 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.1275, allocations: 1.016 MB / 0.5253 GB, free: 13.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002077/0.1296, allocations: 0.8752 MB / 0.5262 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.1304, allocations: 303.2 kB / 0.5265 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002383/0.1328, allocations: 1.9 MB / 0.5283 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.1341, allocations: 1.092 MB / 0.5294 GB, free: 9.543 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009169/0.135, allocations: 0.7277 MB / 0.5301 GB, free: 8.812 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.1363, allocations: 1.027 MB / 0.5311 GB, free: 7.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002792/0.1366, allocations: 131.9 kB / 0.5312 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001131/0.1377, allocations: 0.6239 MB / 0.5318 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008925/0.1386, allocations: 0.9619 MB / 0.5328 GB, free: 6.062 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008813/0.1395, allocations: 0.8146 MB / 0.5336 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004036/0.1435, allocations: 3.753 MB / 0.5372 GB, free: 1.473 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1435, allocations: 7.984 kB / 0.5372 GB, free: 1.465 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1435, allocations: 3.938 kB / 0.5372 GB, free: 1.461 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.263e-05/0.1436, allocations: 0 / 0.5372 GB, free: 1.461 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.2272/0.3708, allocations: 2.646 MB / 0.5398 GB, free: 27.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.3709, allocations: 10.55 kB / 0.5398 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005372/0.3714, allocations: 457.8 kB / 0.5403 GB, free: 27.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005155/0.3765, allocations: 1.588 MB / 0.5418 GB, free: 27.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.3787, allocations: 1.028 MB / 0.5428 GB, free: 27.04 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.091e-05/0.3787, allocations: 120.4 kB / 0.5429 GB, free: 27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003113/0.3791, allocations: 154.4 kB / 0.5431 GB, free: 26.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008423/0.3875, allocations: 6.189 MB / 0.5491 GB, free: 24.04 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-05/0.3876, allocations: 31.58 kB / 0.5492 GB, free: 24.03 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.3878, allocations: 77.98 kB / 0.5492 GB, free: 23.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002444/0.3902, allocations: 1.447 MB / 0.5507 GB, free: 23.72 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009634/0.3998, allocations: 5.374 MB / 0.5559 GB, free: 22.09 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02235/0.4222, allocations: 23.88 MB / 0.5792 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/0.426, allocations: 1.796 MB / 0.581 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009694/0.427, allocations: 0.8857 MB / 0.5818 GB, free: 2.188 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002299/0.4272, allocations: 87.66 kB / 0.5819 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.4272, allocations: 48.05 kB / 0.582 GB, free: 2.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.476e-06/0.4272, allocations: 1.219 kB / 0.582 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02125/0.4485, allocations: 8.401 MB / 0.5902 GB, free: 10.89 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.4486, allocations: 145 kB / 0.5903 GB, free: 10.72 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.4523, allocations: 2.814 MB / 0.5931 GB, free: 7.879 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4525, allocations: 49.69 kB / 0.5931 GB, free: 7.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/0.454, allocations: 2.108 MB / 0.5952 GB, free: 5.695 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000484/0.4545, allocations: 460.6 kB / 0.5956 GB, free: 5.242 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.4556, allocations: 0.8656 MB / 0.5965 GB, free: 4.363 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4557, allocations: 311.6 kB / 0.5967 GB, free: 4.059 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.4576, allocations: 1.329 MB / 0.598 GB, free: 2.723 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004116/0.4618, allocations: 4.108 MB / 0.6021 GB, free: 13.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006858/0.4686, allocations: 5.938 MB / 0.6079 GB, free: 5.891 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.519e-05/0.4687, allocations: 28 kB / 0.6079 GB, free: 5.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008908/0.4776, allocations: 5.492 MB / 0.6132 GB, free: 368 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.4777, allocations: 48 kB / 0.6133 GB, free: 320 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001035/0.4778, allocations: 104.8 kB / 0.6134 GB, free: 216 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.4789, allocations: 456.5 kB / 0.6138 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/0.4816, allocations: 0.9746 MB / 0.6148 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004399/0.486, allocations: 3.547 MB / 0.6182 GB, free: 11.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00258/0.4886, allocations: 223.7 kB / 0.6185 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.4889, allocations: 276 kB / 0.6187 GB, free: 10.64 MB / 462.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.001918/0.4909, allocations: 1.373 MB / 0.6201 GB, free: 9.254 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/0.4912, allocations: 231.5 kB / 0.6203 GB, free: 9.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002342/0.4935, allocations: 1.318 MB / 0.6216 GB, free: 7.695 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-05/0.4936, allocations: 16 kB / 0.6216 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4936, allocations: 0 / 0.6216 GB, free: 7.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4936, allocations: 7.984 kB / 0.6216 GB, free: 7.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/0.5011, allocations: 4.005 MB / 0.6255 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.5011, allocations: 3.062 kB / 0.6255 GB, free: 3.609 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.5018, allocations: 135.8 kB / 0.6256 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008666/0.5026, allocations: 320.5 kB / 0.6259 GB, free: 3.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.25e-05/0.5027, allocations: 16 kB / 0.626 GB, free: 3.145 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003747/0.5064, allocations: 2.944 MB / 0.6288 GB, free: 92 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/0.5064, allocations: 8.094 kB / 0.6288 GB, free: 84 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004377/0.5108, allocations: 3.072 MB / 0.6318 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.512, allocations: 354.2 kB / 0.6322 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/0.5123, allocations: 16 kB / 0.6322 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007576/0.5131, allocations: 47.88 kB / 0.6322 GB, free: 12.57 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/0.5132, allocations: 56.33 kB / 0.6323 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.601e-05/0.5133, allocations: 28 kB / 0.6323 GB, free: 12.49 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002425/0.5157, allocations: 1.633 MB / 0.6339 GB, free: 10.85 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5157, allocations: 0 / 0.6339 GB, free: 10.85 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002953/0.5187, allocations: 0.6054 MB / 0.6345 GB, free: 10.24 MB / 478.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.004789/0.5235, allocations: 3.697 MB / 0.6381 GB, free: 6.52 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005213/0.5287, allocations: 3.106 MB / 0.6411 GB, free: 3.422 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.86e-06/0.5287, allocations: 0 / 0.6411 GB, free: 3.422 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.5298, allocations: 0.8034 MB / 0.6419 GB, free: 2.602 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001408/0.5312, allocations: 213.9 kB / 0.6421 GB, free: 2.398 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04031/0.5716, allocations: 28.43 MB / 0.6699 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.5736, allocations: 1.602 MB / 0.6715 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002966/0.5766, allocations: 1.384 MB / 0.6728 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.578, allocations: 1.026 MB / 0.6738 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.283e-06/0.578, allocations: 0 / 0.6738 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08542/0.6635, allocations: 38.29 MB / 0.7112 GB, free: 7.867 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.16/14.83, allocations: 3.953 kB / 0.7112 GB, free: 7.863 MB / 0.545 GB " [Timeout remaining time 645] (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 --stepSize=0.000219912 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.86213554162532]