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.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.00135/0.00135, allocations: 112.5 kB / 21.22 MB, free: 0.75 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.001585/0.001585, allocations: 201.2 kB / 24.52 MB, free: 4.156 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.448/1.448, allocations: 230.6 MB / 258.3 MB, free: 8.031 MB / 206.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.2236/0.2236, allocations: 44.92 MB / 359.6 MB, free: 6.312 MB / 286.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.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_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 63.91 kB / 0.4938 GB, free: 10.75 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3479/0.3499, allocations: 65.47 MB / 0.5578 GB, free: 7.555 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008485/0.3584, allocations: 6.834 MB / 0.5645 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.3635, allocations: 2.467 MB / 0.5669 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.3641, allocations: 31.88 kB / 0.5669 GB, free: 14.42 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002194/0.3663, allocations: 1.074 MB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.3682, allocations: 0.8597 MB / 0.5688 GB, free: 12.48 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007829/0.369, allocations: 311.2 kB / 0.5691 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002307/0.3713, allocations: 1.868 MB / 0.5709 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3726, allocations: 1.095 MB / 0.572 GB, free: 9.188 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.3736, allocations: 0.716 MB / 0.5727 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.375, allocations: 1.059 MB / 0.5737 GB, free: 7.406 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002678/0.3752, allocations: 128 kB / 0.5738 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001367/0.3766, allocations: 0.776 MB / 0.5746 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000943/0.3775, allocations: 0.9501 MB / 0.5755 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001095/0.3786, allocations: 1.125 MB / 0.5766 GB, free: 4.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004147/0.3828, allocations: 3.726 MB / 0.5803 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3828, allocations: 0 / 0.5803 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3828, allocations: 0 / 0.5803 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.034e-05/0.3828, allocations: 0 / 0.5803 GB, free: 0.6758 MB / 414.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.004848/0.3877, allocations: 2.655 MB / 0.5828 GB, free: 13.97 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.3877, allocations: 12.03 kB / 0.5829 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.739e-05/0.3878, allocations: 55.2 kB / 0.5829 GB, free: 13.91 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000515/0.3883, allocations: 458.4 kB / 0.5833 GB, free: 13.45 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.3937, allocations: 1.578 MB / 0.5849 GB, free: 11.87 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001987/0.3957, allocations: 1.019 MB / 0.5859 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.587e-05/0.3958, allocations: 119 kB / 0.586 GB, free: 10.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/0.3962, allocations: 163.8 kB / 0.5862 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009372/0.4055, allocations: 6.174 MB / 0.5922 GB, free: 3.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/0.4056, allocations: 27.75 kB / 0.5922 GB, free: 3.852 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00024/0.4058, allocations: 83.89 kB / 0.5923 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002532/0.4084, allocations: 1.441 MB / 0.5937 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009708/0.4181, allocations: 5.396 MB / 0.599 GB, free: 12.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02835/0.4464, allocations: 24.71 MB / 0.6231 GB, free: 3.402 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.4508, allocations: 1.801 MB / 0.6249 GB, free: 1.562 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.452, allocations: 0.8863 MB / 0.6257 GB, free: 0.6641 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.4522, allocations: 95.78 kB / 0.6258 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/0.4523, allocations: 38.56 kB / 0.6259 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 2.996e-06/0.4523, allocations: 0 / 0.6259 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02257/0.4749, allocations: 8.346 MB / 0.634 GB, free: 8.105 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.613e-05/0.475, allocations: 144.4 kB / 0.6341 GB, free: 7.934 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003471/0.4784, allocations: 2.636 MB / 0.6367 GB, free: 5.273 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001385/0.4786, allocations: 41.7 kB / 0.6368 GB, free: 5.227 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.4801, allocations: 2.108 MB / 0.6388 GB, free: 3.098 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004629/0.4806, allocations: 456.6 kB / 0.6392 GB, free: 2.648 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001063/0.4817, allocations: 0.8656 MB / 0.6401 GB, free: 1.77 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.4818, allocations: 305.1 kB / 0.6404 GB, free: 1.469 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001897/0.4837, allocations: 1.328 MB / 0.6417 GB, free: 136 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004308/0.488, allocations: 4.112 MB / 0.6457 GB, free: 10.61 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007258/0.4952, allocations: 5.933 MB / 0.6515 GB, free: 3.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.155e-05/0.4953, allocations: 28 kB / 0.6515 GB, free: 3.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009642/0.5049, allocations: 5.502 MB / 0.6569 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.505, allocations: 52.03 kB / 0.6569 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.5051, allocations: 104 kB / 0.657 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.5062, allocations: 456.5 kB / 0.6575 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002781/0.509, allocations: 0.9785 MB / 0.6584 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004422/0.5134, allocations: 3.573 MB / 0.6619 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.5158, allocations: 231.7 kB / 0.6621 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003921/0.5162, allocations: 268 kB / 0.6624 GB, free: 8.012 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.001944/0.5182, allocations: 1.369 MB / 0.6637 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003801/0.5186, allocations: 226.5 kB / 0.6639 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002415/0.521, allocations: 1.318 MB / 0.6652 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.177e-05/0.521, allocations: 12 kB / 0.6652 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.521, allocations: 8 kB / 0.6653 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.521, allocations: 3.984 kB / 0.6653 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007206/0.5282, allocations: 4.178 MB / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.5282, allocations: 0 / 0.6693 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/0.5289, allocations: 135.8 kB / 0.6695 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008655/0.5297, allocations: 320.4 kB / 0.6698 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.085e-05/0.5298, allocations: 23.98 kB / 0.6698 GB, free: 356 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/0.5335, allocations: 2.967 MB / 0.6727 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.5335, allocations: 4.031 kB / 0.6727 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00446/0.538, allocations: 3.074 MB / 0.6757 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005005/0.5385, allocations: 214.3 kB / 0.6759 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.5387, allocations: 12 kB / 0.6759 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007183/0.5394, allocations: 47.94 kB / 0.676 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/0.5395, allocations: 60.31 kB / 0.676 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.843e-05/0.5396, allocations: 28 kB / 0.676 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002335/0.542, allocations: 1.632 MB / 0.6776 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.542, allocations: 4 kB / 0.6776 GB, free: 8.164 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002914/0.5449, allocations: 0.5897 MB / 0.6782 GB, free: 7.574 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.004873/0.5497, allocations: 3.69 MB / 0.6818 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004874/0.5546, allocations: 3.104 MB / 0.6849 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5546, allocations: 0 / 0.6849 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00118/0.5558, allocations: 0.8053 MB / 0.6856 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.5571, allocations: 212.1 kB / 0.6858 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03983/0.5969, allocations: 28.41 MB / 0.7136 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002302/0.5992, allocations: 2.163 MB / 0.7157 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002973/0.6022, allocations: 1.387 MB / 0.7171 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.6036, allocations: 1.026 MB / 0.7181 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.6036, allocations: 0 / 0.7181 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2785/0.8821, allocations: 42.19 MB / 0.7593 GB, free: 141.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.87/21.75, allocations: 7.609 kB / 0.7593 GB, free: 141.3 MB / 0.5606 GB " [Timeout remaining time 638] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 25.183023811026942]