Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001583/0.001583, allocations: 122 kB / 17.83 MB, free: 5.242 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.001787/0.001787, allocations: 204.7 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 207.6 MB / 231.2 MB, free: 4.113 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3191/0.3191, allocations: 44.22 MB / 327.3 MB, free: 6.719 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002143/0.002143, allocations: 63.91 kB / 462.9 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2455, allocations: 61 MB / 0.5116 GB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006389/0.2519, allocations: 6.855 MB / 0.5183 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003983/0.2559, allocations: 2.402 MB / 0.5207 GB, free: 5.703 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009388/0.2569, allocations: 31.88 kB / 0.5207 GB, free: 5.672 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.2587, allocations: 1.059 MB / 0.5217 GB, free: 4.609 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001906/0.2606, allocations: 0.8635 MB / 0.5226 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007382/0.2614, allocations: 303.3 kB / 0.5229 GB, free: 3.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001984/0.2634, allocations: 1.9 MB / 0.5247 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.2646, allocations: 1.088 MB / 0.5258 GB, free: 436 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2657, allocations: 0.7316 MB / 0.5265 GB, free: 15.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.2674, allocations: 1.066 MB / 0.5275 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004311/0.2678, allocations: 132 kB / 0.5277 GB, free: 14.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.2694, allocations: 0.741 MB / 0.5284 GB, free: 13.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00116/0.2705, allocations: 0.9618 MB / 0.5293 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.2722, allocations: 1.137 MB / 0.5304 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004665/0.2769, allocations: 3.76 MB / 0.5341 GB, free: 7.867 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2769, allocations: 0 / 0.5341 GB, free: 7.867 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.2769, allocations: 0 / 0.5341 GB, free: 7.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.65e-05/0.2769, allocations: 0 / 0.5341 GB, free: 7.867 MB / 398.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.004731/0.2817, allocations: 2.734 MB / 0.5368 GB, free: 5.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.2817, allocations: 15.89 kB / 0.5368 GB, free: 5.055 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.432e-05/0.2818, allocations: 55.2 kB / 0.5368 GB, free: 5 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005635/0.2824, allocations: 458.4 kB / 0.5373 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005649/0.288, allocations: 1.578 MB / 0.5388 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2902, allocations: 1.089 MB / 0.5399 GB, free: 1.828 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001072/0.2903, allocations: 119 kB / 0.54 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003449/0.2907, allocations: 159.9 kB / 0.5401 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009926/0.3006, allocations: 6.186 MB / 0.5462 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.585e-05/0.3007, allocations: 27.75 kB / 0.5462 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000249/0.3009, allocations: 79.89 kB / 0.5463 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002607/0.3035, allocations: 1.445 MB / 0.5477 GB, free: 9.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009896/0.3134, allocations: 5.385 MB / 0.553 GB, free: 3.945 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02905/0.3425, allocations: 24.82 MB / 0.5772 GB, free: 10.32 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004722/0.3472, allocations: 2.269 MB / 0.5794 GB, free: 7.906 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/0.3484, allocations: 0.8778 MB / 0.5803 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003785/0.3488, allocations: 323.8 kB / 0.5806 GB, free: 6.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3489, allocations: 42.5 kB / 0.5806 GB, free: 6.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.3489, allocations: 0 / 0.5806 GB, free: 6.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02339/0.3722, allocations: 8.572 MB / 0.589 GB, free: 13.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.732e-05/0.3723, allocations: 136.5 kB / 0.5891 GB, free: 13.73 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/0.376, allocations: 2.652 MB / 0.5917 GB, free: 11.05 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001457/0.3762, allocations: 37.7 kB / 0.5917 GB, free: 11.01 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.3777, allocations: 2.108 MB / 0.5938 GB, free: 8.879 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005204/0.3782, allocations: 460.6 kB / 0.5942 GB, free: 8.426 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001124/0.3794, allocations: 0.8657 MB / 0.5951 GB, free: 7.547 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3795, allocations: 313.1 kB / 0.5954 GB, free: 7.238 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001978/0.3815, allocations: 1.328 MB / 0.5967 GB, free: 5.902 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/0.3856, allocations: 4.108 MB / 0.6007 GB, free: 400 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006939/0.3926, allocations: 5.934 MB / 0.6065 GB, free: 9.07 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-05/0.3926, allocations: 32 kB / 0.6065 GB, free: 9.039 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009697/0.4023, allocations: 5.496 MB / 0.6119 GB, free: 3.539 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.631e-05/0.4024, allocations: 48.94 kB / 0.6119 GB, free: 3.492 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000117/0.4025, allocations: 96 kB / 0.612 GB, free: 3.398 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.4036, allocations: 468.5 kB / 0.6125 GB, free: 2.938 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002885/0.4065, allocations: 0.9747 MB / 0.6134 GB, free: 1.961 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004423/0.411, allocations: 3.673 MB / 0.617 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002875/0.4138, allocations: 231.7 kB / 0.6172 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005963/0.4144, allocations: 272 kB / 0.6175 GB, free: 13.66 MB / 494.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.002054/0.4165, allocations: 1.368 MB / 0.6188 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.4169, allocations: 238.5 kB / 0.6191 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002553/0.4195, allocations: 1.31 MB / 0.6203 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.573e-05/0.4195, allocations: 15.94 kB / 0.6204 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.4195, allocations: 11.98 kB / 0.6204 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4195, allocations: 3.984 kB / 0.6204 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007494/0.427, allocations: 4.187 MB / 0.6245 GB, free: 6.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-05/0.427, allocations: 3.984 kB / 0.6245 GB, free: 6.434 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000653/0.4277, allocations: 139.8 kB / 0.6246 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009012/0.4286, allocations: 312.6 kB / 0.6249 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-05/0.4286, allocations: 16 kB / 0.6249 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/0.4323, allocations: 3.062 MB / 0.6279 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4323, allocations: 0 / 0.6279 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.4368, allocations: 3.089 MB / 0.6309 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008689/0.4377, allocations: 423.4 kB / 0.6313 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.4379, allocations: 20 kB / 0.6313 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007735/0.4387, allocations: 43.94 kB / 0.6314 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.4389, allocations: 56.3 kB / 0.6314 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.525e-05/0.4389, allocations: 31.94 kB / 0.6315 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002612/0.4416, allocations: 1.629 MB / 0.6331 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4416, allocations: 0 / 0.6331 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003217/0.4448, allocations: 0.6053 MB / 0.6336 GB, free: 12.82 MB / 0.4981 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.004944/0.4497, allocations: 3.695 MB / 0.6373 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005077/0.4548, allocations: 3.107 MB / 0.6403 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.4548, allocations: 4.219 kB / 0.6403 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001162/0.456, allocations: 0.8091 MB / 0.6411 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.4574, allocations: 211 kB / 0.6413 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2327/0.6901, allocations: 28.39 MB / 0.669 GB, free: 107.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001488/0.6916, allocations: 2.171 MB / 0.6711 GB, free: 106.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002278/0.6938, allocations: 1.384 MB / 0.6725 GB, free: 105.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009964/0.6948, allocations: 1.03 MB / 0.6735 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.6948, allocations: 0 / 0.6735 GB, free: 104.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05896/0.7538, allocations: 38.72 MB / 0.7113 GB, free: 66.03 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.89/19.64, allocations: 8 kB / 0.7113 GB, free: 66.02 MB / 0.4981 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.92169913800899]