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.001693/0.001693, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.002046/0.002046, allocations: 213.8 kB / 23.77 MB, free: 4.551 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.411/1.411, allocations: 207.7 MB / 234.6 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.2265/0.2265, allocations: 44.26 MB / 331.1 MB, free: 9.32 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",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.002285/0.002285, allocations: 71.91 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 61.04 MB / 0.5169 GB, free: 7.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008721/0.1244, allocations: 6.028 MB / 0.5228 GB, free: 1.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005418/0.1298, allocations: 2.268 MB / 0.525 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009457/0.1307, allocations: 35.88 kB / 0.525 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.1331, allocations: 1.016 MB / 0.526 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.1359, allocations: 0.8752 MB / 0.5269 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009315/0.1369, allocations: 307.2 kB / 0.5272 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002764/0.1396, allocations: 1.9 MB / 0.529 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001667/0.1413, allocations: 1.092 MB / 0.5301 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.1425, allocations: 0.7394 MB / 0.5308 GB, free: 8.871 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0016/0.1441, allocations: 1.059 MB / 0.5319 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000305/0.1444, allocations: 136 kB / 0.532 GB, free: 7.676 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1456, allocations: 0.6357 MB / 0.5326 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1466, allocations: 0.9657 MB / 0.5336 GB, free: 6.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/0.1476, allocations: 0.8068 MB / 0.5343 GB, free: 5.258 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004635/0.1523, allocations: 3.757 MB / 0.538 GB, free: 1.484 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.685e-06/0.1523, allocations: 0 / 0.538 GB, free: 1.484 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1523, allocations: 0 / 0.538 GB, free: 1.484 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.1524, allocations: 0 / 0.538 GB, free: 1.484 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.2226/0.375, allocations: 2.661 MB / 0.5406 GB, free: 27.57 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.375, allocations: 9.641 kB / 0.5406 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.637e-05/0.3751, allocations: 58.23 kB / 0.5407 GB, free: 27.57 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005587/0.3757, allocations: 457.8 kB / 0.5411 GB, free: 27.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005692/0.3814, allocations: 1.582 MB / 0.5427 GB, free: 27.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002324/0.3837, allocations: 1.031 MB / 0.5437 GB, free: 27.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.3838, allocations: 117.3 kB / 0.5438 GB, free: 26.99 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.3842, allocations: 153.8 kB / 0.5439 GB, free: 26.96 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0105/0.3947, allocations: 6.188 MB / 0.55 GB, free: 24.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.406e-05/0.3948, allocations: 32.34 kB / 0.55 GB, free: 24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.3951, allocations: 77.64 kB / 0.5501 GB, free: 23.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.3977, allocations: 1.445 MB / 0.5515 GB, free: 23.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01031/0.408, allocations: 5.394 MB / 0.5567 GB, free: 22.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02529/0.4333, allocations: 23.88 MB / 0.5801 GB, free: 3.523 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004309/0.4376, allocations: 1.791 MB / 0.5818 GB, free: 2.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.4386, allocations: 0.8828 MB / 0.5827 GB, free: 2.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002287/0.4389, allocations: 87.72 kB / 0.5828 GB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.4389, allocations: 50.3 kB / 0.5828 GB, free: 2.113 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/0.4389, allocations: 0 / 0.5828 GB, free: 2.113 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02255/0.4614, allocations: 8.407 MB / 0.591 GB, free: 10.83 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.4615, allocations: 144.5 kB / 0.5912 GB, free: 10.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003861/0.4654, allocations: 2.648 MB / 0.5937 GB, free: 7.984 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.4656, allocations: 41.69 kB / 0.5938 GB, free: 7.938 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001699/0.4673, allocations: 2.11 MB / 0.5958 GB, free: 5.809 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005496/0.4678, allocations: 456.7 kB / 0.5963 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001243/0.4691, allocations: 0.8695 MB / 0.5971 GB, free: 4.477 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.4692, allocations: 305.1 kB / 0.5974 GB, free: 4.176 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002129/0.4713, allocations: 1.328 MB / 0.5987 GB, free: 2.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004832/0.4762, allocations: 4.112 MB / 0.6027 GB, free: 13.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007809/0.484, allocations: 5.942 MB / 0.6085 GB, free: 6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.461e-05/0.4841, allocations: 28 kB / 0.6086 GB, free: 5.973 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01064/0.4947, allocations: 5.492 MB / 0.6139 GB, free: 480 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.596e-05/0.4948, allocations: 48 kB / 0.614 GB, free: 432 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001278/0.4949, allocations: 97.94 kB / 0.6141 GB, free: 336 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.4961, allocations: 465.2 kB / 0.6145 GB, free: 15.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.4995, allocations: 0.9785 MB / 0.6155 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004905/0.5044, allocations: 3.543 MB / 0.6189 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/0.5074, allocations: 227.7 kB / 0.6191 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006765/0.5081, allocations: 272 kB / 0.6194 GB, free: 10.75 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.002704/0.5108, allocations: 1.375 MB / 0.6207 GB, free: 9.363 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005322/0.5113, allocations: 238.5 kB / 0.621 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002721/0.514, allocations: 1.314 MB / 0.6223 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.859e-05/0.5141, allocations: 12 kB / 0.6223 GB, free: 7.789 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5141, allocations: 4.875 kB / 0.6223 GB, free: 7.785 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.5141, allocations: 3.984 kB / 0.6223 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008175/0.5223, allocations: 4.002 MB / 0.6262 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.5223, allocations: 0.5 kB / 0.6262 GB, free: 3.723 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007173/0.523, allocations: 135.8 kB / 0.6263 GB, free: 3.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001001/0.524, allocations: 320.5 kB / 0.6266 GB, free: 3.273 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5241, allocations: 23.62 kB / 0.6266 GB, free: 3.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004121/0.5282, allocations: 2.942 MB / 0.6295 GB, free: 204 kB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.5282, allocations: 4.031 kB / 0.6295 GB, free: 200 kB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004935/0.5332, allocations: 3.087 MB / 0.6325 GB, free: 13.08 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.5343, allocations: 350.2 kB / 0.6329 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.5346, allocations: 15.98 kB / 0.6329 GB, free: 12.72 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007867/0.5353, allocations: 47.94 kB / 0.6329 GB, free: 12.68 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/0.5355, allocations: 56.28 kB / 0.633 GB, free: 12.62 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.137e-05/0.5356, allocations: 31.98 kB / 0.633 GB, free: 12.59 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002708/0.5383, allocations: 1.629 MB / 0.6346 GB, free: 10.95 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5383, allocations: 0 / 0.6346 GB, free: 10.95 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003397/0.5417, allocations: 0.6054 MB / 0.6352 GB, free: 10.34 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.005106/0.5468, allocations: 3.689 MB / 0.6388 GB, free: 6.625 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.00539/0.5522, allocations: 3.11 MB / 0.6418 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.5522, allocations: 0 / 0.6418 GB, free: 3.523 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.5535, allocations: 0.8031 MB / 0.6426 GB, free: 2.707 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5551, allocations: 211.6 kB / 0.6428 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04358/0.5987, allocations: 28.43 MB / 0.6706 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002255/0.601, allocations: 1.6 MB / 0.6721 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003169/0.6041, allocations: 1.385 MB / 0.6735 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/0.6057, allocations: 1.023 MB / 0.6745 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.6057, allocations: 7.938 kB / 0.6745 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08587/0.6916, allocations: 39.98 MB / 0.7135 GB, free: 6.289 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.16/20.85, allocations: 15.91 kB / 0.7136 GB, free: 6.273 MB / 0.545 GB " [Timeout remaining time 639] (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: 24.306441096006893]