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.001499/0.001499, allocations: 109.2 kB / 20.48 MB, free: 1.477 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.001473/0.001473, allocations: 211.8 kB / 23.79 MB, free: 4.684 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.538/1.538, allocations: 207.6 MB / 234.6 MB, free: 9.973 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.2194/0.2194, allocations: 44.25 MB / 331.1 MB, free: 9.5 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.00224/0.00224, allocations: 67.91 kB / 468.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.127, allocations: 61.04 MB / 0.5169 GB, free: 7.344 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008438/0.1354, allocations: 6.876 MB / 0.5236 GB, free: 436 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005067/0.1405, allocations: 2.412 MB / 0.526 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.1416, allocations: 35.88 kB / 0.526 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002391/0.144, allocations: 1.059 MB / 0.527 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002309/0.1463, allocations: 0.8752 MB / 0.5279 GB, free: 12.03 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008908/0.1472, allocations: 303.3 kB / 0.5282 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002755/0.1499, allocations: 1.904 MB / 0.53 GB, free: 9.824 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001414/0.1513, allocations: 1.103 MB / 0.5311 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001073/0.1524, allocations: 0.7238 MB / 0.5318 GB, free: 7.973 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001532/0.1539, allocations: 1.074 MB / 0.5329 GB, free: 6.895 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002896/0.1542, allocations: 128 kB / 0.533 GB, free: 6.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001305/0.1555, allocations: 0.7488 MB / 0.5337 GB, free: 6.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.1565, allocations: 0.9619 MB / 0.5347 GB, free: 5.055 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001147/0.1576, allocations: 1.145 MB / 0.5358 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004281/0.1619, allocations: 3.757 MB / 0.5395 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1619, allocations: 0 / 0.5395 GB, free: 132 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1619, allocations: 0 / 0.5395 GB, free: 132 kB / 414.1 MB Notification: Performance of Transformations before backend: time 7.731e-05/0.162, allocations: 0 / 0.5395 GB, free: 132 kB / 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.3845, allocations: 2.657 MB / 0.542 GB, free: 27.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.3846, allocations: 13.56 kB / 0.5421 GB, free: 27.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001159/0.3847, allocations: 55.95 kB / 0.5421 GB, free: 27.32 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000622/0.3853, allocations: 459.5 kB / 0.5426 GB, free: 27.26 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/0.3909, allocations: 1.576 MB / 0.5441 GB, free: 27.08 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002335/0.3933, allocations: 1.023 MB / 0.5451 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.022e-05/0.3933, allocations: 116.4 kB / 0.5452 GB, free: 26.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.3937, allocations: 154.6 kB / 0.5453 GB, free: 26.67 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008682/0.4024, allocations: 6.192 MB / 0.5514 GB, free: 23.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.411e-05/0.4024, allocations: 30.83 kB / 0.5514 GB, free: 23.73 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/0.4027, allocations: 82.66 kB / 0.5515 GB, free: 23.67 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002366/0.405, allocations: 1.442 MB / 0.5529 GB, free: 23.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009896/0.4149, allocations: 5.385 MB / 0.5582 GB, free: 21.79 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02347/0.4384, allocations: 24.71 MB / 0.5823 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003932/0.4423, allocations: 1.796 MB / 0.5841 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008815/0.4432, allocations: 0.8825 MB / 0.5849 GB, free: 0.7305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002031/0.4434, allocations: 90.33 kB / 0.585 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.4434, allocations: 50.22 kB / 0.5851 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.756e-06/0.4434, allocations: 4 kB / 0.5851 GB, free: 0.6445 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02275/0.4662, allocations: 8.352 MB / 0.5932 GB, free: 9.75 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.4663, allocations: 140.5 kB / 0.5933 GB, free: 9.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003614/0.4699, allocations: 2.645 MB / 0.5959 GB, free: 6.914 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.47, allocations: 45.69 kB / 0.596 GB, free: 6.863 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001581/0.4716, allocations: 2.112 MB / 0.598 GB, free: 4.73 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004939/0.4721, allocations: 452.6 kB / 0.5985 GB, free: 4.285 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.4732, allocations: 0.8734 MB / 0.5993 GB, free: 3.398 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4734, allocations: 305.1 kB / 0.5996 GB, free: 3.098 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001954/0.4753, allocations: 1.332 MB / 0.6009 GB, free: 1.758 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/0.4796, allocations: 4.108 MB / 0.6049 GB, free: 12.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007057/0.4866, allocations: 5.942 MB / 0.6107 GB, free: 4.922 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.937e-05/0.4867, allocations: 28 kB / 0.6108 GB, free: 4.895 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009472/0.4962, allocations: 5.499 MB / 0.6161 GB, free: 15.38 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.891e-05/0.4962, allocations: 48 kB / 0.6162 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001112/0.4964, allocations: 96 kB / 0.6163 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001124/0.4975, allocations: 465.8 kB / 0.6167 GB, free: 14.79 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.5003, allocations: 0.9734 MB / 0.6177 GB, free: 13.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004421/0.5048, allocations: 3.565 MB / 0.6211 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.5076, allocations: 227.7 kB / 0.6214 GB, free: 9.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004628/0.508, allocations: 280 kB / 0.6216 GB, free: 9.637 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.002121/0.5101, allocations: 1.362 MB / 0.623 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004434/0.5106, allocations: 238.4 kB / 0.6232 GB, free: 8.027 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002439/0.513, allocations: 1.314 MB / 0.6245 GB, free: 6.703 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.782e-05/0.5131, allocations: 23.92 kB / 0.6245 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.5131, allocations: 0 / 0.6245 GB, free: 6.68 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.5131, allocations: 7.984 kB / 0.6245 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007394/0.5205, allocations: 4.17 MB / 0.6286 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.5205, allocations: 0 / 0.6286 GB, free: 2.449 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006717/0.5211, allocations: 139.8 kB / 0.6287 GB, free: 2.312 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008769/0.522, allocations: 316.5 kB / 0.629 GB, free: 2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.648e-05/0.5221, allocations: 16 kB / 0.629 GB, free: 1.984 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.5257, allocations: 2.963 MB / 0.6319 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.5257, allocations: 4.031 kB / 0.6319 GB, free: 14.91 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004548/0.5303, allocations: 3.087 MB / 0.6349 GB, free: 11.79 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00099/0.5313, allocations: 346.2 kB / 0.6353 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.5315, allocations: 12 kB / 0.6353 GB, free: 11.44 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007495/0.5323, allocations: 47.94 kB / 0.6353 GB, free: 11.39 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.5324, allocations: 64.34 kB / 0.6354 GB, free: 11.33 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.616e-05/0.5325, allocations: 27.98 kB / 0.6354 GB, free: 11.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002446/0.535, allocations: 1.629 MB / 0.637 GB, free: 9.664 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.535, allocations: 0 / 0.637 GB, free: 9.664 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003061/0.538, allocations: 0.6092 MB / 0.6376 GB, free: 9.055 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.00482/0.5428, allocations: 3.689 MB / 0.6412 GB, free: 5.336 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005287/0.5481, allocations: 3.11 MB / 0.6442 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.5481, allocations: 0 / 0.6442 GB, free: 2.234 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.5493, allocations: 0.7984 MB / 0.645 GB, free: 1.422 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.5508, allocations: 215.3 kB / 0.6452 GB, free: 1.215 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04055/0.5914, allocations: 28.45 MB / 0.673 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.5936, allocations: 2.165 MB / 0.6751 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002947/0.5966, allocations: 1.387 MB / 0.6765 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/0.5979, allocations: 1.023 MB / 0.6775 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of SimCode: time 8.62e-07/0.5979, allocations: 0 / 0.6775 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08495/0.6829, allocations: 42.26 MB / 0.7187 GB, free: 2.141 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.57/20.25, allocations: 11.33 kB / 0.7187 GB, free: 2.133 MB / 0.545 GB " [Timeout remaining time 640] (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: 23.821230029978324]