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.00173/0.00173, allocations: 107.9 kB / 20.48 MB, free: 1.125 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.002105/0.002105, allocations: 212.9 kB / 23.78 MB, free: 4.328 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.454/1.454, allocations: 230.5 MB / 257.4 MB, free: 7.73 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.2306/0.2306, allocations: 46.95 MB / 360.9 MB, free: 3.906 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002344/0.002344, allocations: 79.88 kB / 0.4962 GB, free: 7.523 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3268, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007958/0.3348, allocations: 6.036 MB / 0.5666 GB, free: 13.96 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004883/0.3397, allocations: 2.304 MB / 0.5689 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007871/0.3405, allocations: 35.88 kB / 0.5689 GB, free: 11.61 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.3427, allocations: 1.028 MB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.3449, allocations: 0.8714 MB / 0.5708 GB, free: 9.707 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008177/0.3457, allocations: 319.2 kB / 0.5711 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002391/0.3481, allocations: 1.864 MB / 0.5729 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.3494, allocations: 1.084 MB / 0.574 GB, free: 6.422 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.3505, allocations: 0.7199 MB / 0.5747 GB, free: 5.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001604/0.3521, allocations: 1.02 MB / 0.5757 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003143/0.3525, allocations: 128 kB / 0.5758 GB, free: 4.551 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.3538, allocations: 0.6395 MB / 0.5764 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009534/0.3547, allocations: 0.9462 MB / 0.5773 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000855/0.3556, allocations: 0.7951 MB / 0.5781 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.3599, allocations: 3.738 MB / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3599, allocations: 0 / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.3599, allocations: 0 / 0.5818 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.84e-05/0.3599, allocations: 0 / 0.5818 GB, free: 14.41 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.004484/0.3644, allocations: 2.647 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.3644, allocations: 12.03 kB / 0.5844 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005097/0.365, allocations: 458.3 kB / 0.5848 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005347/0.3703, allocations: 1.621 MB / 0.5864 GB, free: 9.621 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002212/0.3725, allocations: 1.027 MB / 0.5874 GB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.3726, allocations: 123.2 kB / 0.5875 GB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003087/0.3729, allocations: 159.8 kB / 0.5876 GB, free: 8.285 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/0.3817, allocations: 6.178 MB / 0.5937 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-05/0.3817, allocations: 27.75 kB / 0.5937 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000218/0.3819, allocations: 79.89 kB / 0.5938 GB, free: 1.516 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002415/0.3843, allocations: 1.445 MB / 0.5952 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009411/0.3938, allocations: 5.385 MB / 0.6005 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02818/0.4219, allocations: 23.95 MB / 0.6238 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004391/0.4263, allocations: 1.851 MB / 0.6257 GB, free: 32 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001221/0.4275, allocations: 0.8863 MB / 0.6265 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002555/0.4278, allocations: 95.73 kB / 0.6266 GB, free: 15.04 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.4278, allocations: 42.56 kB / 0.6266 GB, free: 14.99 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 2.816e-06/0.4278, allocations: 0 / 0.6266 GB, free: 14.99 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02238/0.4502, allocations: 8.622 MB / 0.6351 GB, free: 6.293 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.457e-05/0.4503, allocations: 140.5 kB / 0.6352 GB, free: 6.125 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003695/0.454, allocations: 2.806 MB / 0.6379 GB, free: 3.293 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.4542, allocations: 41.7 kB / 0.638 GB, free: 3.246 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001547/0.4557, allocations: 2.112 MB / 0.64 GB, free: 1.113 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004732/0.4562, allocations: 452.6 kB / 0.6405 GB, free: 0.668 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.4573, allocations: 0.8772 MB / 0.6413 GB, free: 15.78 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4574, allocations: 305.1 kB / 0.6416 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/0.4594, allocations: 1.336 MB / 0.6429 GB, free: 14.13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004257/0.4636, allocations: 4.108 MB / 0.6469 GB, free: 8.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007127/0.4708, allocations: 5.934 MB / 0.6527 GB, free: 1.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.617e-05/0.4708, allocations: 28 kB / 0.6528 GB, free: 1.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01044/0.4813, allocations: 5.495 MB / 0.6581 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.425e-05/0.4814, allocations: 48 kB / 0.6582 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001232/0.4815, allocations: 100.1 kB / 0.6583 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.4826, allocations: 465.1 kB / 0.6587 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003004/0.4856, allocations: 0.9747 MB / 0.6597 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004386/0.49, allocations: 3.547 MB / 0.6631 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002745/0.4927, allocations: 223.7 kB / 0.6633 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.4933, allocations: 272 kB / 0.6636 GB, free: 6.055 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.001972/0.4952, allocations: 1.368 MB / 0.6649 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.4956, allocations: 238.4 kB / 0.6652 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.498, allocations: 1.314 MB / 0.6664 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/0.4981, allocations: 12 kB / 0.6665 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.4981, allocations: 4 kB / 0.6665 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4981, allocations: 7.969 kB / 0.6665 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007381/0.5055, allocations: 4.026 MB / 0.6704 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.5055, allocations: 0 / 0.6704 GB, free: 15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000619/0.5061, allocations: 143.8 kB / 0.6705 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008528/0.5069, allocations: 308.6 kB / 0.6708 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/0.507, allocations: 23.97 kB / 0.6709 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003601/0.5106, allocations: 2.947 MB / 0.6737 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5106, allocations: 0 / 0.6737 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/0.515, allocations: 3.083 MB / 0.6767 GB, free: 8.359 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004869/0.5154, allocations: 214.3 kB / 0.6769 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/0.5156, allocations: 16 kB / 0.677 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007064/0.5163, allocations: 43.94 kB / 0.677 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.5165, allocations: 56.33 kB / 0.6771 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.009e-05/0.5166, allocations: 31.98 kB / 0.6771 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002341/0.5189, allocations: 1.625 MB / 0.6787 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5189, allocations: 4.062 kB / 0.6787 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002897/0.5218, allocations: 0.5897 MB / 0.6793 GB, free: 5.773 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.004727/0.5265, allocations: 3.691 MB / 0.6829 GB, free: 2.047 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004979/0.5315, allocations: 3.099 MB / 0.6859 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.5315, allocations: 4 kB / 0.6859 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.5326, allocations: 0.8014 MB / 0.6867 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.534, allocations: 216.3 kB / 0.6869 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.5746, allocations: 28.41 MB / 0.7146 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002164/0.5768, allocations: 1.594 MB / 0.7162 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002827/0.5796, allocations: 1.383 MB / 0.7175 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/0.581, allocations: 1.019 MB / 0.7185 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.581, allocations: 0 / 0.7185 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3353/0.9163, allocations: 38.31 MB / 0.7559 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.08/15, allocations: 3.094 kB / 0.7559 GB, free: 141.2 MB / 0.5606 GB " [Timeout remaining time 645] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 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.csv","/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: 18.07947172690183]