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.001436/0.001436, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001604/0.001604, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.988 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.2269/0.2269, allocations: 46.93 MB / 361.7 MB, free: 4.242 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002088/0.002088, allocations: 71.83 kB / 0.4969 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3165, allocations: 66.03 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009411/0.3259, allocations: 6.83 MB / 0.5681 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.331, allocations: 2.464 MB / 0.5705 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007053/0.3317, allocations: 35.88 kB / 0.5705 GB, free: 11.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.3339, allocations: 1.066 MB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.3363, allocations: 0.8636 MB / 0.5724 GB, free: 9.156 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.3371, allocations: 315.2 kB / 0.5727 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002816/0.34, allocations: 1.868 MB / 0.5745 GB, free: 6.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.3415, allocations: 1.095 MB / 0.5756 GB, free: 5.859 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.3428, allocations: 0.7161 MB / 0.5763 GB, free: 5.141 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.3444, allocations: 1.059 MB / 0.5773 GB, free: 4.078 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.3447, allocations: 132 kB / 0.5775 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.3461, allocations: 0.7644 MB / 0.5782 GB, free: 3.184 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009984/0.3471, allocations: 0.954 MB / 0.5791 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.3483, allocations: 1.125 MB / 0.5802 GB, free: 1.094 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004578/0.3529, allocations: 3.734 MB / 0.5839 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3529, allocations: 0 / 0.5839 GB, free: 13.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3529, allocations: 0 / 0.5839 GB, free: 13.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.095e-05/0.353, allocations: 0 / 0.5839 GB, free: 13.34 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.005121/0.3581, allocations: 2.643 MB / 0.5865 GB, free: 10.66 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.3581, allocations: 12.03 kB / 0.5865 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.416e-05/0.3582, allocations: 63.14 kB / 0.5865 GB, free: 10.58 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006074/0.3588, allocations: 458.4 kB / 0.587 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00551/0.3643, allocations: 1.582 MB / 0.5885 GB, free: 8.539 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.3667, allocations: 1.015 MB / 0.5895 GB, free: 7.492 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.3668, allocations: 119 kB / 0.5896 GB, free: 7.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003636/0.3671, allocations: 159.8 kB / 0.5898 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/0.3764, allocations: 6.182 MB / 0.5958 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/0.3765, allocations: 31.73 kB / 0.5958 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002203/0.3767, allocations: 75.89 kB / 0.5959 GB, free: 456 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002603/0.3793, allocations: 1.441 MB / 0.5973 GB, free: 15 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01015/0.3895, allocations: 5.396 MB / 0.6026 GB, free: 9.602 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03032/0.4198, allocations: 24.71 MB / 0.6267 GB, free: 76 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/0.4244, allocations: 1.809 MB / 0.6285 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/0.4256, allocations: 0.8811 MB / 0.6293 GB, free: 13.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002566/0.4259, allocations: 91.78 kB / 0.6294 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001015/0.426, allocations: 46.5 kB / 0.6295 GB, free: 13.19 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.987e-06/0.426, allocations: 0 / 0.6295 GB, free: 13.19 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02333/0.4493, allocations: 8.332 MB / 0.6376 GB, free: 4.785 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.4494, allocations: 140.5 kB / 0.6378 GB, free: 4.617 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003704/0.4531, allocations: 2.636 MB / 0.6403 GB, free: 1.957 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001359/0.4532, allocations: 41.7 kB / 0.6404 GB, free: 1.91 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001714/0.455, allocations: 2.104 MB / 0.6424 GB, free: 15.78 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/0.4555, allocations: 456.6 kB / 0.6429 GB, free: 15.33 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.4566, allocations: 0.8772 MB / 0.6437 GB, free: 14.44 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001425/0.4568, allocations: 305.1 kB / 0.644 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.4589, allocations: 1.332 MB / 0.6453 GB, free: 12.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004523/0.4634, allocations: 4.112 MB / 0.6493 GB, free: 7.285 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007185/0.4706, allocations: 5.932 MB / 0.6551 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.359e-05/0.4707, allocations: 28 kB / 0.6551 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01045/0.4811, allocations: 5.499 MB / 0.6605 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.555e-05/0.4812, allocations: 50.17 kB / 0.6606 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001235/0.4813, allocations: 104 kB / 0.6607 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.4824, allocations: 465.1 kB / 0.6611 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002982/0.4854, allocations: 0.9708 MB / 0.662 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.4899, allocations: 3.569 MB / 0.6655 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002696/0.4926, allocations: 231.7 kB / 0.6658 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/0.4932, allocations: 268.1 kB / 0.666 GB, free: 4.691 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.002118/0.4953, allocations: 1.372 MB / 0.6674 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004487/0.4957, allocations: 234.5 kB / 0.6676 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/0.4982, allocations: 1.318 MB / 0.6689 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.541e-05/0.4982, allocations: 12 kB / 0.6689 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/0.4982, allocations: 4 kB / 0.6689 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4983, allocations: 3.984 kB / 0.6689 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007809/0.5061, allocations: 4.174 MB / 0.673 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.5061, allocations: 0 / 0.673 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006679/0.5067, allocations: 143.8 kB / 0.6731 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000887/0.5076, allocations: 316.6 kB / 0.6734 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.5077, allocations: 19.97 kB / 0.6734 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003885/0.5116, allocations: 2.97 MB / 0.6763 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.5116, allocations: 3.938 kB / 0.6763 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004705/0.5163, allocations: 3.072 MB / 0.6793 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005777/0.5169, allocations: 206.3 kB / 0.6795 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002288/0.5171, allocations: 20 kB / 0.6795 GB, free: 6.617 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.5178, allocations: 52.06 kB / 0.6796 GB, free: 6.566 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/0.518, allocations: 60.27 kB / 0.6796 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.601e-05/0.5181, allocations: 27.98 kB / 0.6797 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002472/0.5206, allocations: 1.628 MB / 0.6813 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.5206, allocations: 0 / 0.6813 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002991/0.5235, allocations: 0.5897 MB / 0.6818 GB, free: 4.25 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.005095/0.5286, allocations: 3.694 MB / 0.6854 GB, free: 0.5234 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005544/0.5342, allocations: 3.103 MB / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.5342, allocations: 0 / 0.6885 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.5355, allocations: 0.813 MB / 0.6893 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.537, allocations: 208.4 kB / 0.6895 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04445/0.5814, allocations: 28.41 MB / 0.7172 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002382/0.5838, allocations: 2.167 MB / 0.7193 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0031/0.5869, allocations: 1.391 MB / 0.7207 GB, free: 8.656 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001619/0.5885, allocations: 1.019 MB / 0.7217 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/0.5885, allocations: 0 / 0.7217 GB, free: 7.637 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.322/0.9105, allocations: 42.19 MB / 0.7629 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.77/21.68, allocations: 4.062 kB / 0.7629 GB, free: 134.8 MB / 0.5606 GB " [Timeout remaining time 638] (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: 25.14354395197006]