Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001881/0.001881, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.00246/0.00246, allocations: 213.9 kB / 23.74 MB, free: 4.656 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.56/1.56, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2237/0.2237, allocations: 44.91 MB / 358.8 MB, free: 6.285 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.003058/0.003058, allocations: 64.19 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3134, allocations: 65.46 MB / 0.557 GB, free: 7.734 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009065/0.3225, allocations: 6.836 MB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004965/0.3274, allocations: 2.465 MB / 0.5661 GB, free: 14.62 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007598/0.3282, allocations: 35.88 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002374/0.3306, allocations: 1.066 MB / 0.5672 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002268/0.3328, allocations: 0.8714 MB / 0.568 GB, free: 12.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009139/0.3338, allocations: 315.2 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.3364, allocations: 1.865 MB / 0.5701 GB, free: 10.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.338, allocations: 1.095 MB / 0.5712 GB, free: 9.348 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.3392, allocations: 0.7161 MB / 0.5719 GB, free: 8.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001746/0.341, allocations: 1.063 MB / 0.5729 GB, free: 7.562 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003867/0.3413, allocations: 132 kB / 0.5731 GB, free: 7.434 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.3429, allocations: 0.7605 MB / 0.5738 GB, free: 6.672 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00112/0.344, allocations: 0.9579 MB / 0.5748 GB, free: 5.711 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.3455, allocations: 1.125 MB / 0.5758 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004888/0.3504, allocations: 3.724 MB / 0.5795 GB, free: 0.8398 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.3504, allocations: 4 kB / 0.5795 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3504, allocations: 0 / 0.5795 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001329/0.3505, allocations: 0 / 0.5795 GB, free: 0.8359 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.006155/0.3567, allocations: 2.643 MB / 0.5821 GB, free: 14.15 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.3568, allocations: 8.031 kB / 0.5821 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008821/0.3576, allocations: 462.3 kB / 0.5825 GB, free: 13.68 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.363, allocations: 1.582 MB / 0.5841 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.3655, allocations: 1.015 MB / 0.5851 GB, free: 11.05 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001094/0.3656, allocations: 119.3 kB / 0.5852 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.3661, allocations: 155.8 kB / 0.5853 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009511/0.3756, allocations: 6.186 MB / 0.5914 GB, free: 4.105 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.3757, allocations: 23.81 kB / 0.5914 GB, free: 4.082 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002693/0.3759, allocations: 87.83 kB / 0.5915 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00248/0.3784, allocations: 1.437 MB / 0.5929 GB, free: 2.555 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009762/0.3882, allocations: 5.393 MB / 0.5981 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02982/0.418, allocations: 24.71 MB / 0.6223 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004286/0.4223, allocations: 1.805 MB / 0.624 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.4235, allocations: 0.8863 MB / 0.6249 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.4238, allocations: 99.72 kB / 0.625 GB, free: 0.793 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.4238, allocations: 46.5 kB / 0.625 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.4238, allocations: 0 / 0.625 GB, free: 0.7383 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02182/0.4456, allocations: 8.342 MB / 0.6332 GB, free: 8.324 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.128e-05/0.4457, allocations: 136.5 kB / 0.6333 GB, free: 8.16 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003423/0.4492, allocations: 2.644 MB / 0.6359 GB, free: 5.492 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000132/0.4493, allocations: 33.7 kB / 0.6359 GB, free: 5.453 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001528/0.4508, allocations: 2.104 MB / 0.638 GB, free: 3.328 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004346/0.4513, allocations: 456.6 kB / 0.6384 GB, free: 2.879 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/0.4523, allocations: 0.8773 MB / 0.6393 GB, free: 1.988 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.4524, allocations: 301.1 kB / 0.6396 GB, free: 1.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.4544, allocations: 1.332 MB / 0.6409 GB, free: 360 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004285/0.4586, allocations: 4.108 MB / 0.6449 GB, free: 10.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007162/0.4658, allocations: 5.94 MB / 0.6507 GB, free: 3.512 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.137e-05/0.4659, allocations: 28 kB / 0.6507 GB, free: 3.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01021/0.4761, allocations: 5.49 MB / 0.6561 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.4762, allocations: 48.94 kB / 0.6561 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001706/0.4764, allocations: 100 kB / 0.6562 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.4776, allocations: 460.5 kB / 0.6566 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.4805, allocations: 0.9747 MB / 0.6576 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004609/0.4851, allocations: 3.573 MB / 0.6611 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002707/0.4878, allocations: 227.8 kB / 0.6613 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005728/0.4884, allocations: 279.9 kB / 0.6616 GB, free: 8.234 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.002474/0.4909, allocations: 1.368 MB / 0.6629 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005393/0.4914, allocations: 234.5 kB / 0.6631 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002702/0.4941, allocations: 1.31 MB / 0.6644 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.422e-05/0.4941, allocations: 16 kB / 0.6644 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4942, allocations: 0 / 0.6644 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.607e-05/0.4942, allocations: 7.984 kB / 0.6644 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00927/0.5034, allocations: 4.181 MB / 0.6685 GB, free: 1.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.5035, allocations: 4 kB / 0.6685 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007174/0.5042, allocations: 139.8 kB / 0.6687 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009647/0.5051, allocations: 316.5 kB / 0.669 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/0.5052, allocations: 16 kB / 0.669 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/0.5092, allocations: 2.959 MB / 0.6719 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5092, allocations: 4.25 kB / 0.6719 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004971/0.5142, allocations: 3.079 MB / 0.6749 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008299/0.515, allocations: 218.4 kB / 0.6751 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004835/0.5155, allocations: 12 kB / 0.6751 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/0.5165, allocations: 47.94 kB / 0.6751 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/0.5167, allocations: 56.27 kB / 0.6752 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.908e-05/0.5168, allocations: 32 kB / 0.6752 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003132/0.5199, allocations: 1.625 MB / 0.6768 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5199, allocations: 0 / 0.6768 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003692/0.5236, allocations: 0.5936 MB / 0.6774 GB, free: 7.801 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.005623/0.5292, allocations: 3.689 MB / 0.681 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005613/0.5349, allocations: 3.106 MB / 0.684 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.5349, allocations: 0 / 0.684 GB, free: 0.9805 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.5362, allocations: 0.8096 MB / 0.6848 GB, free: 160 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001643/0.5378, allocations: 211.5 kB / 0.685 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0457/0.5835, allocations: 28.41 MB / 0.7128 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002639/0.5862, allocations: 2.171 MB / 0.7149 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003061/0.5892, allocations: 1.383 MB / 0.7162 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/0.5908, allocations: 1.023 MB / 0.7172 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of SimCode: time 9.32e-07/0.5908, allocations: 0 / 0.7172 GB, free: 11.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3214/0.9122, allocations: 42.16 MB / 0.7584 GB, free: 143 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.98/20.89, allocations: 7.516 kB / 0.7584 GB, free: 143 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 24.09650964802131]