Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.001846/0.001846, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002317/0.002317, allocations: 210.9 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2306/0.2306, allocations: 46.96 MB / 360.9 MB, free: 4.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002892/0.002892, allocations: 67.91 kB / 0.4961 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3314, allocations: 66.03 MB / 0.5606 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00795/0.3394, allocations: 6.04 MB / 0.5665 GB, free: 14.19 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00458/0.344, allocations: 2.304 MB / 0.5687 GB, free: 11.88 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005665/0.3445, allocations: 39.88 kB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.3467, allocations: 1.024 MB / 0.5698 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.3486, allocations: 0.8713 MB / 0.5706 GB, free: 9.938 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007286/0.3493, allocations: 311.3 kB / 0.5709 GB, free: 9.633 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002276/0.3516, allocations: 1.868 MB / 0.5727 GB, free: 7.762 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.3529, allocations: 1.088 MB / 0.5738 GB, free: 6.652 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009633/0.3539, allocations: 0.7199 MB / 0.5745 GB, free: 5.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.3553, allocations: 1.016 MB / 0.5755 GB, free: 4.91 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002612/0.3555, allocations: 128 kB / 0.5756 GB, free: 4.785 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.3568, allocations: 0.6395 MB / 0.5762 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009693/0.3577, allocations: 0.954 MB / 0.5772 GB, free: 3.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3587, allocations: 0.7912 MB / 0.5779 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.3633, allocations: 3.734 MB / 0.5816 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.3633, allocations: 4 kB / 0.5816 GB, free: 14.64 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3633, allocations: 0 / 0.5816 GB, free: 14.64 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.474e-05/0.3634, allocations: 0 / 0.5816 GB, free: 14.64 MB / 430.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.005341/0.3687, allocations: 2.655 MB / 0.5842 GB, free: 11.94 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.3688, allocations: 8.031 kB / 0.5842 GB, free: 11.93 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005462/0.3693, allocations: 454.4 kB / 0.5846 GB, free: 11.48 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005324/0.3746, allocations: 1.59 MB / 0.5862 GB, free: 9.883 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002511/0.3771, allocations: 1.019 MB / 0.5872 GB, free: 8.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.3773, allocations: 119.3 kB / 0.5873 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000333/0.3776, allocations: 163.8 kB / 0.5874 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009406/0.387, allocations: 6.174 MB / 0.5935 GB, free: 1.895 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.412e-05/0.3871, allocations: 35.73 kB / 0.5935 GB, free: 1.859 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.3873, allocations: 79.89 kB / 0.5936 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002511/0.3898, allocations: 1.441 MB / 0.595 GB, free: 344 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009724/0.3995, allocations: 5.373 MB / 0.6002 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02954/0.4291, allocations: 23.88 MB / 0.6236 GB, free: 2.277 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004571/0.4336, allocations: 1.814 MB / 0.6253 GB, free: 440 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001296/0.4349, allocations: 0.8863 MB / 0.6262 GB, free: 15.53 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.4352, allocations: 91.7 kB / 0.6263 GB, free: 15.44 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.4352, allocations: 46.5 kB / 0.6263 GB, free: 15.39 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.797e-06/0.4352, allocations: 4 kB / 0.6263 GB, free: 15.38 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02251/0.4578, allocations: 8.374 MB / 0.6345 GB, free: 6.934 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.933e-05/0.4579, allocations: 140.5 kB / 0.6346 GB, free: 6.766 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/0.4617, allocations: 2.802 MB / 0.6374 GB, free: 3.938 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.4619, allocations: 33.7 kB / 0.6374 GB, free: 3.898 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001671/0.4635, allocations: 2.116 MB / 0.6395 GB, free: 1.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005278/0.4641, allocations: 468.5 kB / 0.6399 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.4652, allocations: 0.8695 MB / 0.6408 GB, free: 428 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4653, allocations: 305.1 kB / 0.6411 GB, free: 120 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001979/0.4673, allocations: 1.328 MB / 0.6424 GB, free: 14.78 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004805/0.4721, allocations: 4.108 MB / 0.6464 GB, free: 9.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007676/0.4798, allocations: 5.936 MB / 0.6522 GB, free: 1.953 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-05/0.4799, allocations: 28 kB / 0.6522 GB, free: 1.926 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01007/0.4899, allocations: 5.497 MB / 0.6576 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.183e-05/0.49, allocations: 44 kB / 0.6576 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/0.4901, allocations: 104 kB / 0.6577 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.4913, allocations: 457.1 kB / 0.6581 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.4941, allocations: 0.9786 MB / 0.6591 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004453/0.4986, allocations: 3.542 MB / 0.6626 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002683/0.5012, allocations: 227.8 kB / 0.6628 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/0.5018, allocations: 271.9 kB / 0.663 GB, free: 6.703 MB / 0.4981 GB 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.002213/0.504, allocations: 1.368 MB / 0.6644 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004628/0.5044, allocations: 234.4 kB / 0.6646 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002575/0.507, allocations: 1.326 MB / 0.6659 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-05/0.507, allocations: 12 kB / 0.6659 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5071, allocations: 0 / 0.6659 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.5071, allocations: 7.984 kB / 0.6659 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007975/0.515, allocations: 4.002 MB / 0.6698 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.515, allocations: 0 / 0.6698 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/0.5157, allocations: 139.8 kB / 0.6699 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009179/0.5166, allocations: 316.5 kB / 0.6702 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-05/0.5167, allocations: 19.91 kB / 0.6703 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003676/0.5204, allocations: 2.939 MB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.5204, allocations: 7.969 kB / 0.6731 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00458/0.525, allocations: 3.08 MB / 0.6761 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006206/0.5256, allocations: 214.3 kB / 0.6764 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.5258, allocations: 12 kB / 0.6764 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007374/0.5266, allocations: 47.94 kB / 0.6764 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.5267, allocations: 52.28 kB / 0.6765 GB, free: 8.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.5268, allocations: 31.98 kB / 0.6765 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002582/0.5294, allocations: 1.625 MB / 0.6781 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5294, allocations: 0 / 0.6781 GB, free: 7.047 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003146/0.5325, allocations: 0.5898 MB / 0.6787 GB, free: 6.457 MB / 0.5137 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.004948/0.5375, allocations: 3.702 MB / 0.6823 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005223/0.5427, allocations: 3.094 MB / 0.6853 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/0.5427, allocations: 0 / 0.6853 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.5439, allocations: 0.8133 MB / 0.6861 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.5453, allocations: 223.1 kB / 0.6863 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04281/0.5881, allocations: 28.39 MB / 0.714 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002207/0.5903, allocations: 1.594 MB / 0.7156 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003007/0.5933, allocations: 1.395 MB / 0.7169 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/0.5947, allocations: 1.019 MB / 0.7179 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/0.5947, allocations: 0 / 0.7179 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3107/0.9054, allocations: 38.22 MB / 0.7553 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.32/15.23, allocations: 0 / 0.7553 GB, free: 142.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 18.607565745245665]