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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 117.6 kB / 18.5 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 190.9 kB / 21.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.6 MB / 249.8 MB, free: 3.578 MB / 190.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.2468/0.2468, allocations: 44.92 MB / 349.6 MB, free: 1.699 MB / 270.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 70.95 kB / 491.8 MB, free: 30.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1041, allocations: 64.26 MB / 0.543 GB, free: 4.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008424/0.1125, allocations: 6.83 MB / 0.5497 GB, free: 13.24 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004532/0.117, allocations: 2.407 MB / 0.552 GB, free: 10.83 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005331/0.1175, allocations: 31.94 kB / 0.552 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.1197, allocations: 1.051 MB / 0.5531 GB, free: 9.742 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.1217, allocations: 0.8713 MB / 0.5539 GB, free: 8.867 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007673/0.1225, allocations: 307.2 kB / 0.5542 GB, free: 8.566 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002386/0.1249, allocations: 1.884 MB / 0.556 GB, free: 6.676 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001327/0.1262, allocations: 1.084 MB / 0.5571 GB, free: 5.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009199/0.1271, allocations: 0.716 MB / 0.5578 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001294/0.1284, allocations: 1.066 MB / 0.5588 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.1286, allocations: 128 kB / 0.559 GB, free: 3.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001215/0.1298, allocations: 0.7526 MB / 0.5597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008877/0.1307, allocations: 0.9658 MB / 0.5606 GB, free: 1.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.1318, allocations: 1.145 MB / 0.5618 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003986/0.1357, allocations: 3.757 MB / 0.5654 GB, free: 13.01 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1357, allocations: 4 kB / 0.5654 GB, free: 13 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1357, allocations: 0 / 0.5654 GB, free: 13 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.752e-05/0.1358, allocations: 0 / 0.5654 GB, free: 13 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.00415/0.1399, allocations: 2.73 MB / 0.5681 GB, free: 10.21 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.14, allocations: 8.031 kB / 0.5681 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005149/0.1405, allocations: 466.3 kB / 0.5686 GB, free: 9.738 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.1456, allocations: 1.578 MB / 0.5701 GB, free: 8.156 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.1479, allocations: 1.077 MB / 0.5712 GB, free: 7.039 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.148, allocations: 123.2 kB / 0.5713 GB, free: 6.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000306/0.1483, allocations: 155.8 kB / 0.5714 GB, free: 6.766 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008503/0.1568, allocations: 6.19 MB / 0.5775 GB, free: 88 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.955e-05/0.1568, allocations: 31.7 kB / 0.5775 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.1571, allocations: 87.88 kB / 0.5776 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002382/0.1594, allocations: 1.433 MB / 0.579 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009061/0.1685, allocations: 5.397 MB / 0.5842 GB, free: 9.137 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/0.4027, allocations: 24.8 MB / 0.6085 GB, free: 53.01 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004427/0.4071, allocations: 2.25 MB / 0.6107 GB, free: 52.34 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.4083, allocations: 0.888 MB / 0.6115 GB, free: 52.31 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002995/0.4086, allocations: 325.4 kB / 0.6118 GB, free: 52.03 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.4086, allocations: 42.42 kB / 0.6119 GB, free: 51.99 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.115e-06/0.4086, allocations: 0 / 0.6119 GB, free: 51.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02168/0.4303, allocations: 8.568 MB / 0.6202 GB, free: 49.56 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.4303, allocations: 139.1 kB / 0.6204 GB, free: 49.41 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003921/0.4342, allocations: 2.644 MB / 0.623 GB, free: 48.46 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.4344, allocations: 42.69 kB / 0.623 GB, free: 48.42 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001249/0.4356, allocations: 2.116 MB / 0.6251 GB, free: 46.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.436, allocations: 458 kB / 0.6255 GB, free: 46.59 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001016/0.437, allocations: 0.8681 MB / 0.6264 GB, free: 46.16 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.415e-05/0.4371, allocations: 305.6 kB / 0.6266 GB, free: 45.86 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001661/0.4388, allocations: 1.34 MB / 0.628 GB, free: 45.44 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.4413, allocations: 4.102 MB / 0.632 GB, free: 41.26 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/0.4457, allocations: 5.943 MB / 0.6378 GB, free: 36.09 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.546e-05/0.4458, allocations: 27.69 kB / 0.6378 GB, free: 36.09 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007294/0.4531, allocations: 5.501 MB / 0.6432 GB, free: 33.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.683e-05/0.4531, allocations: 48.78 kB / 0.6432 GB, free: 33.98 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.497e-05/0.4532, allocations: 99.03 kB / 0.6433 GB, free: 33.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009463/0.4542, allocations: 458.9 kB / 0.6437 GB, free: 33.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.4565, allocations: 0.9794 MB / 0.6447 GB, free: 33.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003107/0.4596, allocations: 3.664 MB / 0.6483 GB, free: 31.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003098/0.4627, allocations: 230 kB / 0.6485 GB, free: 31.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/0.4632, allocations: 271.4 kB / 0.6488 GB, free: 31.07 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.001595/0.4648, allocations: 1.368 MB / 0.6501 GB, free: 29.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004023/0.4652, allocations: 234.4 kB / 0.6503 GB, free: 29.46 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001834/0.467, allocations: 1.322 MB / 0.6516 GB, free: 28.13 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.467, allocations: 19.78 kB / 0.6516 GB, free: 28.11 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.4671, allocations: 4 kB / 0.6516 GB, free: 28.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4671, allocations: 7.922 kB / 0.6516 GB, free: 28.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.4732, allocations: 4.17 MB / 0.6557 GB, free: 23.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.4732, allocations: 7.938 kB / 0.6557 GB, free: 23.89 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005701/0.4738, allocations: 143.8 kB / 0.6558 GB, free: 23.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000724/0.4745, allocations: 313.1 kB / 0.6561 GB, free: 23.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.098e-05/0.4746, allocations: 16 kB / 0.6562 GB, free: 23.42 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.477, allocations: 3.079 MB / 0.6592 GB, free: 20.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.477, allocations: 0 / 0.6592 GB, free: 20.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.4803, allocations: 3.087 MB / 0.6622 GB, free: 17.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008663/0.4811, allocations: 287.4 kB / 0.6625 GB, free: 16.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000259/0.4814, allocations: 12 kB / 0.6625 GB, free: 16.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007118/0.4821, allocations: 51.88 kB / 0.6625 GB, free: 16.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001406/0.4822, allocations: 56.3 kB / 0.6626 GB, free: 16.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.265e-05/0.4823, allocations: 32.06 kB / 0.6626 GB, free: 16.65 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001885/0.4842, allocations: 1.625 MB / 0.6642 GB, free: 15.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4842, allocations: 0 / 0.6642 GB, free: 15.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003202/0.4874, allocations: 0.6125 MB / 0.6648 GB, free: 14.41 MB / 462.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.00343/0.4908, allocations: 3.7 MB / 0.6684 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004471/0.4953, allocations: 3.102 MB / 0.6714 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.4953, allocations: 0 / 0.6714 GB, free: 7.594 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009405/0.4962, allocations: 0.7975 MB / 0.6722 GB, free: 6.781 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001856/0.4981, allocations: 212.2 kB / 0.6724 GB, free: 6.578 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04098/0.5391, allocations: 28.38 MB / 0.7001 GB, free: 6.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/0.542, allocations: 2.175 MB / 0.7023 GB, free: 4.289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.00309/0.5451, allocations: 1.388 MB / 0.7036 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/0.5465, allocations: 1.019 MB / 0.7046 GB, free: 1.875 MB / 494.1 MB Notification: Performance of SimCode: time 7.72e-07/0.5465, allocations: 0 / 0.7046 GB, free: 1.875 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08474/0.6313, allocations: 38.7 MB / 0.7424 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.74/19.38, allocations: 10.59 kB / 0.7424 GB, free: 11.41 MB / 0.5294 GB " [Timeout remaining time 641] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.608256538398564]