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.001334/0.001334, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001363/0.001363, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.508/1.508, allocations: 230.4 MB / 254.7 MB, free: 15.21 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.2188/0.2188, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.002225/0.002225, allocations: 83.86 kB / 0.4916 GB, free: 26.88 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1116, allocations: 66.04 MB / 0.5561 GB, free: 8.707 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008723/0.1204, allocations: 6.807 MB / 0.5628 GB, free: 1.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004514/0.1249, allocations: 2.442 MB / 0.5652 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004413/0.1253, allocations: 35.88 kB / 0.5652 GB, free: 15.37 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.1274, allocations: 1.07 MB / 0.5662 GB, free: 14.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001666/0.1291, allocations: 0.8617 MB / 0.5671 GB, free: 13.43 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007007/0.1298, allocations: 311.2 kB / 0.5674 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00221/0.132, allocations: 1.872 MB / 0.5692 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001343/0.1333, allocations: 1.08 MB / 0.5703 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008679/0.1342, allocations: 0.7238 MB / 0.571 GB, free: 9.43 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001315/0.1355, allocations: 1.059 MB / 0.572 GB, free: 8.367 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.1357, allocations: 128 kB / 0.5721 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1369, allocations: 0.7721 MB / 0.5729 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008994/0.1378, allocations: 0.9502 MB / 0.5738 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.1389, allocations: 1.125 MB / 0.5749 GB, free: 5.383 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00415/0.143, allocations: 3.734 MB / 0.5786 GB, free: 1.633 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.143, allocations: 0 / 0.5786 GB, free: 1.633 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.143, allocations: 0 / 0.5786 GB, free: 1.633 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.1431, allocations: 0 / 0.5786 GB, free: 1.633 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.004536/0.1476, allocations: 2.719 MB / 0.5812 GB, free: 14.85 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.1477, allocations: 11.97 kB / 0.5812 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.999e-05/0.1477, allocations: 59.2 kB / 0.5813 GB, free: 14.78 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000525/0.1483, allocations: 454.4 kB / 0.5817 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005559/0.1538, allocations: 1.578 MB / 0.5833 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/0.1557, allocations: 1.085 MB / 0.5843 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.455e-05/0.1558, allocations: 127 kB / 0.5844 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003305/0.1561, allocations: 159.8 kB / 0.5846 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009059/0.1652, allocations: 6.174 MB / 0.5906 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.198e-05/0.1652, allocations: 23.81 kB / 0.5906 GB, free: 4.652 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002407/0.1655, allocations: 83.89 kB / 0.5907 GB, free: 4.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002646/0.1681, allocations: 1.445 MB / 0.5921 GB, free: 3.121 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.1782, allocations: 5.389 MB / 0.5974 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.248/0.4262, allocations: 24.81 MB / 0.6216 GB, free: 30.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004346/0.4305, allocations: 2.256 MB / 0.6238 GB, free: 30.04 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.4316, allocations: 0.8783 MB / 0.6247 GB, free: 29.94 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.4319, allocations: 323.6 kB / 0.625 GB, free: 29.65 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.146e-05/0.4319, allocations: 45.22 kB / 0.625 GB, free: 29.61 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.956e-06/0.4319, allocations: 0 / 0.625 GB, free: 29.61 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02348/0.4554, allocations: 8.561 MB / 0.6334 GB, free: 26.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.4554, allocations: 137.8 kB / 0.6335 GB, free: 26.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00334/0.4588, allocations: 2.642 MB / 0.6361 GB, free: 25.14 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.4589, allocations: 37.23 kB / 0.6361 GB, free: 25.11 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.4599, allocations: 2.11 MB / 0.6382 GB, free: 23.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.4602, allocations: 456.6 kB / 0.6386 GB, free: 23.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.4613, allocations: 0.8748 MB / 0.6395 GB, free: 22.84 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.511e-05/0.4613, allocations: 301.1 kB / 0.6398 GB, free: 22.54 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.463, allocations: 1.332 MB / 0.6411 GB, free: 22.12 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002578/0.4656, allocations: 4.107 MB / 0.6451 GB, free: 17.9 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/0.4703, allocations: 5.945 MB / 0.6509 GB, free: 12.68 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001269/0.4704, allocations: 27.09 kB / 0.6509 GB, free: 12.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008059/0.4785, allocations: 5.504 MB / 0.6563 GB, free: 10.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.4786, allocations: 45.84 kB / 0.6563 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.994e-05/0.4786, allocations: 100.5 kB / 0.6564 GB, free: 10.04 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.4797, allocations: 455.9 kB / 0.6569 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/0.4826, allocations: 0.9784 MB / 0.6578 GB, free: 9.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003352/0.4859, allocations: 3.675 MB / 0.6614 GB, free: 6.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/0.489, allocations: 224.6 kB / 0.6616 GB, free: 5.812 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004188/0.4894, allocations: 272 kB / 0.6619 GB, free: 5.547 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.001404/0.4908, allocations: 1.371 MB / 0.6632 GB, free: 4.164 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003698/0.4912, allocations: 226.5 kB / 0.6634 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.4933, allocations: 1.325 MB / 0.6647 GB, free: 2.605 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.4933, allocations: 12 kB / 0.6647 GB, free: 2.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.4933, allocations: 4 kB / 0.6648 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.4933, allocations: 11.86 kB / 0.6648 GB, free: 2.578 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006532/0.4998, allocations: 4.185 MB / 0.6688 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.4998, allocations: 3.938 kB / 0.6689 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006337/0.5005, allocations: 135.9 kB / 0.669 GB, free: 14.23 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/0.5014, allocations: 316.5 kB / 0.6693 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/0.5015, allocations: 27.14 kB / 0.6693 GB, free: 13.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003692/0.5052, allocations: 3.065 MB / 0.6723 GB, free: 10.69 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.5052, allocations: 4.031 kB / 0.6723 GB, free: 10.68 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004559/0.5097, allocations: 3.075 MB / 0.6753 GB, free: 7.586 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007153/0.5104, allocations: 295.4 kB / 0.6756 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/0.5107, allocations: 12 kB / 0.6756 GB, free: 7.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/0.5114, allocations: 47.94 kB / 0.6756 GB, free: 7.219 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.5116, allocations: 56.3 kB / 0.6757 GB, free: 7.164 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.5117, allocations: 31.5 kB / 0.6757 GB, free: 7.137 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002413/0.5141, allocations: 1.628 MB / 0.6773 GB, free: 5.496 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5141, allocations: 0 / 0.6773 GB, free: 5.496 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003164/0.5172, allocations: 0.5859 MB / 0.6779 GB, free: 4.91 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.005134/0.5224, allocations: 3.69 MB / 0.6815 GB, free: 1.195 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006664/0.529, allocations: 3.104 MB / 0.6845 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.529, allocations: 0 / 0.6845 GB, free: 14.1 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.5302, allocations: 0.799 MB / 0.6853 GB, free: 13.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001519/0.5318, allocations: 224.1 kB / 0.6855 GB, free: 13.07 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04127/0.573, allocations: 28.35 MB / 0.7132 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002324/0.5753, allocations: 2.171 MB / 0.7153 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002956/0.5783, allocations: 1.387 MB / 0.7167 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.5797, allocations: 1.019 MB / 0.7177 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of SimCode: time 9.52e-07/0.5797, allocations: 0 / 0.7177 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07598/0.6557, allocations: 38.67 MB / 0.7554 GB, free: 1.941 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.81/19.46, allocations: 11.98 kB / 0.7555 GB, free: 1.93 MB / 0.545 GB " [Timeout remaining time 640] (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: 22.947818515007384]