Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 207.5 kB / 24.53 MB, free: 4.07 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.92 MB / 361.6 MB, free: 4.188 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 79.86 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2794, allocations: 66.07 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008665/0.2881, allocations: 6.828 MB / 0.5682 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004882/0.2929, allocations: 2.467 MB / 0.5706 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007127/0.2937, allocations: 35.88 kB / 0.5706 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002165/0.2958, allocations: 1.07 MB / 0.5716 GB, free: 9.871 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001995/0.2978, allocations: 0.8636 MB / 0.5725 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.2986, allocations: 315.2 kB / 0.5728 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.3009, allocations: 1.86 MB / 0.5746 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.3023, allocations: 1.099 MB / 0.5757 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001136/0.3035, allocations: 0.7238 MB / 0.5764 GB, free: 4.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.3051, allocations: 1.055 MB / 0.5774 GB, free: 3.922 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.3054, allocations: 132 kB / 0.5775 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.3069, allocations: 0.7643 MB / 0.5783 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009304/0.3078, allocations: 0.9463 MB / 0.5792 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.3091, allocations: 1.137 MB / 0.5803 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004296/0.3133, allocations: 3.722 MB / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3134, allocations: 0 / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3134, allocations: 0 / 0.584 GB, free: 13.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.477e-05/0.3134, allocations: 0 / 0.584 GB, free: 13.19 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.004793/0.3182, allocations: 2.647 MB / 0.5865 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3182, allocations: 12.03 kB / 0.5866 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.536e-05/0.3183, allocations: 55.2 kB / 0.5866 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005459/0.3189, allocations: 462.4 kB / 0.587 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005578/0.3244, allocations: 1.582 MB / 0.5886 GB, free: 8.387 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.3268, allocations: 1.019 MB / 0.5896 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3269, allocations: 123 kB / 0.5897 GB, free: 7.219 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003731/0.3273, allocations: 155.8 kB / 0.5899 GB, free: 7.066 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009701/0.337, allocations: 6.182 MB / 0.5959 GB, free: 408 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.625e-05/0.3371, allocations: 23.81 kB / 0.5959 GB, free: 384 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002323/0.3373, allocations: 79.89 kB / 0.596 GB, free: 304 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.3398, allocations: 1.445 MB / 0.5974 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0098/0.3496, allocations: 5.396 MB / 0.6027 GB, free: 9.453 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0276/0.3772, allocations: 24.71 MB / 0.6268 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004373/0.3816, allocations: 1.818 MB / 0.6286 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.3828, allocations: 0.8746 MB / 0.6294 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.3831, allocations: 95.69 kB / 0.6295 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.3831, allocations: 50.48 kB / 0.6296 GB, free: 13.04 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.3831, allocations: 0 / 0.6296 GB, free: 13.04 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02292/0.406, allocations: 8.323 MB / 0.6377 GB, free: 4.637 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.237e-05/0.4061, allocations: 136.5 kB / 0.6378 GB, free: 4.473 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003592/0.4097, allocations: 2.644 MB / 0.6404 GB, free: 1.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.4098, allocations: 41.69 kB / 0.6404 GB, free: 1.758 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001585/0.4114, allocations: 2.104 MB / 0.6425 GB, free: 15.63 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.4119, allocations: 456.6 kB / 0.6429 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.413, allocations: 0.8734 MB / 0.6438 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.4132, allocations: 301.1 kB / 0.6441 GB, free: 14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.4151, allocations: 1.332 MB / 0.6454 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/0.4193, allocations: 4.108 MB / 0.6494 GB, free: 7.145 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007132/0.4264, allocations: 5.946 MB / 0.6552 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-05/0.4265, allocations: 28 kB / 0.6552 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.00992/0.4364, allocations: 5.493 MB / 0.6606 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.804e-05/0.4365, allocations: 45.88 kB / 0.6606 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/0.4366, allocations: 100 kB / 0.6607 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.4377, allocations: 460.5 kB / 0.6612 GB, free: 9.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00289/0.4406, allocations: 0.9827 MB / 0.6621 GB, free: 8.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00451/0.4451, allocations: 3.574 MB / 0.6656 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002458/0.4475, allocations: 223.7 kB / 0.6658 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003876/0.4479, allocations: 272 kB / 0.6661 GB, free: 4.543 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.001967/0.4499, allocations: 1.383 MB / 0.6674 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/0.4503, allocations: 226.5 kB / 0.6677 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.4527, allocations: 1.322 MB / 0.6689 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/0.4527, allocations: 12 kB / 0.669 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.4527, allocations: 4 kB / 0.669 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.4528, allocations: 3.984 kB / 0.669 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007199/0.46, allocations: 4.174 MB / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.46, allocations: 0 / 0.673 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006498/0.4606, allocations: 139.8 kB / 0.6732 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008831/0.4615, allocations: 316.5 kB / 0.6735 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.35e-05/0.4616, allocations: 15.91 kB / 0.6735 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/0.4652, allocations: 2.974 MB / 0.6764 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4652, allocations: 0 / 0.6764 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004554/0.4698, allocations: 3.083 MB / 0.6794 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/0.4704, allocations: 206.3 kB / 0.6796 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.4706, allocations: 20 kB / 0.6796 GB, free: 6.453 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007344/0.4713, allocations: 47.94 kB / 0.6797 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.4715, allocations: 56.27 kB / 0.6797 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.584e-05/0.4716, allocations: 28 kB / 0.6797 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002528/0.4741, allocations: 1.628 MB / 0.6813 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4741, allocations: 0 / 0.6813 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00291/0.477, allocations: 0.5898 MB / 0.6819 GB, free: 4.094 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.004872/0.4819, allocations: 3.687 MB / 0.6855 GB, free: 384 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004992/0.4869, allocations: 3.105 MB / 0.6885 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.4869, allocations: 288 / 0.6885 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.488, allocations: 0.8091 MB / 0.6893 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.4893, allocations: 211.7 kB / 0.6895 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/0.5284, allocations: 28.41 MB / 0.7173 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002412/0.5308, allocations: 2.174 MB / 0.7194 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002855/0.5337, allocations: 1.387 MB / 0.7208 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.5351, allocations: 1.019 MB / 0.7218 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of SimCode: time 6.52e-07/0.5351, allocations: 0 / 0.7218 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2778/0.8128, allocations: 42.18 MB / 0.7629 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.86/20.68, allocations: 7.156 kB / 0.7629 GB, free: 134.5 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.03534674900584]