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.001845/0.001845, allocations: 113 kB / 18.49 MB, free: 4.539 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.002361/0.002361, allocations: 217.4 kB / 21.46 MB, free: 1.586 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.504/1.504, allocations: 230.6 MB / 254.8 MB, free: 15.23 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.2344/0.2344, allocations: 46.92 MB / 357.8 MB, free: 10.33 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.002307/0.002307, allocations: 63.91 kB / 0.4916 GB, free: 7.961 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1262, allocations: 65.99 MB / 0.5561 GB, free: 5.836 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009105/0.1353, allocations: 6.79 MB / 0.5627 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005125/0.1404, allocations: 2.45 MB / 0.5651 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.1413, allocations: 35.81 kB / 0.5651 GB, free: 12.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00247/0.1438, allocations: 1.066 MB / 0.5662 GB, free: 11.44 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002356/0.1461, allocations: 0.8597 MB / 0.567 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000941/0.1471, allocations: 311.2 kB / 0.5673 GB, free: 10.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002926/0.15, allocations: 1.868 MB / 0.5691 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.1517, allocations: 1.084 MB / 0.5702 GB, free: 7.297 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.1529, allocations: 0.716 MB / 0.5709 GB, free: 6.578 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.1548, allocations: 1.063 MB / 0.5719 GB, free: 5.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004501/0.1553, allocations: 128 kB / 0.572 GB, free: 5.387 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001589/0.1569, allocations: 0.7799 MB / 0.5728 GB, free: 4.605 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001204/0.1581, allocations: 0.9463 MB / 0.5737 GB, free: 3.656 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.1598, allocations: 1.121 MB / 0.5748 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005332/0.1651, allocations: 3.73 MB / 0.5785 GB, free: 14.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.1651, allocations: 0 / 0.5785 GB, free: 14.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1651, allocations: 0 / 0.5785 GB, free: 14.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001173/0.1652, allocations: 0 / 0.5785 GB, free: 14.78 MB / 446.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.005729/0.171, allocations: 2.73 MB / 0.5811 GB, free: 11.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.171, allocations: 8.031 kB / 0.5811 GB, free: 11.98 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.171e-05/0.1711, allocations: 59.2 kB / 0.5812 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006996/0.1718, allocations: 458.4 kB / 0.5816 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005935/0.1777, allocations: 1.582 MB / 0.5832 GB, free: 9.879 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.1799, allocations: 1.069 MB / 0.5842 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.18, allocations: 123 kB / 0.5843 GB, free: 8.648 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.1804, allocations: 163.8 kB / 0.5845 GB, free: 8.488 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009903/0.1903, allocations: 6.178 MB / 0.5905 GB, free: 1.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.1903, allocations: 35.75 kB / 0.5906 GB, free: 1.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/0.1906, allocations: 83.83 kB / 0.5906 GB, free: 1.699 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.1932, allocations: 1.445 MB / 0.592 GB, free: 256 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2649/0.4581, allocations: 5.377 MB / 0.5973 GB, free: 31.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.486, allocations: 24.82 MB / 0.6215 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.4905, allocations: 2.262 MB / 0.6237 GB, free: 12.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001201/0.4917, allocations: 0.8748 MB / 0.6246 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003319/0.492, allocations: 327.9 kB / 0.6249 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/0.4921, allocations: 46 kB / 0.625 GB, free: 11.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.687e-06/0.4921, allocations: 0 / 0.625 GB, free: 11.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02237/0.5144, allocations: 8.561 MB / 0.6333 GB, free: 7.094 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/0.5145, allocations: 135.6 kB / 0.6334 GB, free: 6.938 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0032/0.5177, allocations: 2.642 MB / 0.636 GB, free: 5.582 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000186/0.5179, allocations: 41.67 kB / 0.6361 GB, free: 5.539 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009526/0.5188, allocations: 2.107 MB / 0.6381 GB, free: 3.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003714/0.5192, allocations: 464 kB / 0.6386 GB, free: 3.055 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008215/0.52, allocations: 0.8656 MB / 0.6394 GB, free: 2.176 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.5201, allocations: 305.1 kB / 0.6397 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.5215, allocations: 1.336 MB / 0.641 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004509/0.5261, allocations: 4.106 MB / 0.645 GB, free: 11.02 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007357/0.5334, allocations: 5.933 MB / 0.6508 GB, free: 3.711 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.812e-05/0.5335, allocations: 31.94 kB / 0.6508 GB, free: 3.68 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009995/0.5435, allocations: 5.493 MB / 0.6562 GB, free: 14.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.5436, allocations: 48 kB / 0.6562 GB, free: 14.14 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.5437, allocations: 100.6 kB / 0.6563 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/0.5448, allocations: 465.3 kB / 0.6568 GB, free: 13.58 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002984/0.5478, allocations: 0.9747 MB / 0.6577 GB, free: 12.61 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004645/0.5525, allocations: 3.674 MB / 0.6613 GB, free: 8.805 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002901/0.5554, allocations: 231.3 kB / 0.6615 GB, free: 8.582 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005085/0.5559, allocations: 271.9 kB / 0.6618 GB, free: 8.32 MB / 478.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.002134/0.558, allocations: 1.37 MB / 0.6631 GB, free: 6.938 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/0.5585, allocations: 230.4 kB / 0.6634 GB, free: 6.711 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002655/0.5611, allocations: 1.325 MB / 0.6647 GB, free: 5.371 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.83e-05/0.5612, allocations: 12 kB / 0.6647 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5612, allocations: 0 / 0.6647 GB, free: 5.359 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.456e-05/0.5612, allocations: 11.98 kB / 0.6647 GB, free: 5.348 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008213/0.5694, allocations: 4.189 MB / 0.6688 GB, free: 1.117 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/0.5694, allocations: 4 kB / 0.6688 GB, free: 1.113 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006839/0.5701, allocations: 135.8 kB / 0.6689 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009292/0.571, allocations: 316.5 kB / 0.6692 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.721e-05/0.5711, allocations: 20 kB / 0.6692 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003799/0.5749, allocations: 3.063 MB / 0.6722 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.5749, allocations: 8 kB / 0.6722 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004811/0.5797, allocations: 3.075 MB / 0.6752 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000796/0.5805, allocations: 287.5 kB / 0.6755 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004168/0.5809, allocations: 15.94 kB / 0.6755 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009388/0.5819, allocations: 47.94 kB / 0.6756 GB, free: 9.984 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.5821, allocations: 60.56 kB / 0.6756 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.566e-05/0.5821, allocations: 28 kB / 0.6756 GB, free: 9.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002683/0.5848, allocations: 1.625 MB / 0.6772 GB, free: 8.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.5848, allocations: 480 / 0.6772 GB, free: 8.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003454/0.5883, allocations: 0.5976 MB / 0.6778 GB, free: 7.668 MB / 494.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.005252/0.5935, allocations: 3.696 MB / 0.6814 GB, free: 3.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00541/0.5989, allocations: 3.092 MB / 0.6844 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.229e-06/0.5989, allocations: 4 kB / 0.6845 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00134/0.6003, allocations: 0.8022 MB / 0.6852 GB, free: 44 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001915/0.6022, allocations: 216.8 kB / 0.6854 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04778/0.65, allocations: 28.36 MB / 0.7131 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002609/0.6526, allocations: 2.174 MB / 0.7153 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003084/0.6557, allocations: 1.383 MB / 0.7166 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001533/0.6572, allocations: 1.026 MB / 0.7176 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.6572, allocations: 0 / 0.7176 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08294/0.7401, allocations: 38.66 MB / 0.7554 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.8/20.54, allocations: 18.11 kB / 0.7554 GB, free: 4.742 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.126665730960667]