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.001356/0.001356, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001514/0.001514, allocations: 214.6 kB / 23.74 MB, free: 4.672 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.434/1.434, allocations: 230.5 MB / 257.4 MB, free: 7.996 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.2234/0.2234, allocations: 46.93 MB / 360.8 MB, free: 4.164 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.002473/0.002473, allocations: 75.88 kB / 0.4962 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3272, allocations: 66.08 MB / 0.5607 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008309/0.3355, allocations: 6.83 MB / 0.5674 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005389/0.3409, allocations: 2.463 MB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.342, allocations: 31.88 kB / 0.5698 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.3445, allocations: 1.074 MB / 0.5709 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00231/0.3468, allocations: 0.8675 MB / 0.5717 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008879/0.3477, allocations: 307.2 kB / 0.572 GB, free: 8.672 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002818/0.3505, allocations: 1.868 MB / 0.5738 GB, free: 6.801 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001887/0.3524, allocations: 1.095 MB / 0.5749 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001318/0.3537, allocations: 0.7161 MB / 0.5756 GB, free: 4.961 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001565/0.3553, allocations: 1.055 MB / 0.5766 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003235/0.3556, allocations: 128 kB / 0.5768 GB, free: 3.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3571, allocations: 0.7721 MB / 0.5775 GB, free: 3.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009236/0.358, allocations: 0.954 MB / 0.5784 GB, free: 2.047 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001172/0.3592, allocations: 1.129 MB / 0.5795 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004299/0.3635, allocations: 3.73 MB / 0.5832 GB, free: 13.16 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.3635, allocations: 0 / 0.5832 GB, free: 13.16 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3635, allocations: 0 / 0.5832 GB, free: 13.16 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.041e-05/0.3635, allocations: 0 / 0.5832 GB, free: 13.16 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.004932/0.3685, allocations: 2.647 MB / 0.5858 GB, free: 10.47 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.3685, allocations: 12.03 kB / 0.5858 GB, free: 10.46 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005488/0.3691, allocations: 458.4 kB / 0.5862 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005093/0.3742, allocations: 1.575 MB / 0.5878 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002459/0.3766, allocations: 1.027 MB / 0.5888 GB, free: 7.367 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.991e-05/0.3767, allocations: 119.2 kB / 0.5889 GB, free: 7.25 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/0.3771, allocations: 159.8 kB / 0.589 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009829/0.3869, allocations: 6.178 MB / 0.5951 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.73e-05/0.387, allocations: 27.81 kB / 0.5951 GB, free: 412 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002532/0.3872, allocations: 79.88 kB / 0.5952 GB, free: 332 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002536/0.3898, allocations: 1.448 MB / 0.5966 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009984/0.3998, allocations: 5.385 MB / 0.6018 GB, free: 9.488 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/0.4303, allocations: 24.72 MB / 0.626 GB, free: 15.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004458/0.4348, allocations: 1.801 MB / 0.6277 GB, free: 14.12 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.4361, allocations: 0.8863 MB / 0.6286 GB, free: 13.22 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003155/0.4364, allocations: 91.78 kB / 0.6287 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.882e-05/0.4364, allocations: 46.5 kB / 0.6287 GB, free: 13.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.428e-06/0.4364, allocations: 0 / 0.6287 GB, free: 13.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.0228/0.4592, allocations: 8.334 MB / 0.6369 GB, free: 4.664 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.4593, allocations: 140.5 kB / 0.637 GB, free: 4.496 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003536/0.4629, allocations: 2.636 MB / 0.6396 GB, free: 1.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.463, allocations: 41.7 kB / 0.6396 GB, free: 1.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001556/0.4646, allocations: 2.104 MB / 0.6417 GB, free: 15.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.465, allocations: 456.6 kB / 0.6421 GB, free: 15.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.4661, allocations: 0.8695 MB / 0.643 GB, free: 14.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.4662, allocations: 313.1 kB / 0.6433 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/0.4682, allocations: 1.332 MB / 0.6446 GB, free: 12.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004443/0.4727, allocations: 4.104 MB / 0.6486 GB, free: 7.172 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00687/0.4795, allocations: 5.938 MB / 0.6544 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.848e-05/0.4796, allocations: 32 kB / 0.6544 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009568/0.4892, allocations: 5.492 MB / 0.6598 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/0.4893, allocations: 48 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001518/0.4894, allocations: 96.09 kB / 0.6599 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/0.4906, allocations: 469.1 kB / 0.6603 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002891/0.4935, allocations: 0.9786 MB / 0.6613 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004557/0.498, allocations: 3.57 MB / 0.6648 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.5007, allocations: 231.7 kB / 0.665 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005912/0.5013, allocations: 272 kB / 0.6653 GB, free: 4.566 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.002341/0.5036, allocations: 1.361 MB / 0.6666 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004471/0.5041, allocations: 234.4 kB / 0.6668 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.5067, allocations: 1.318 MB / 0.6681 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.173e-05/0.5067, allocations: 12 kB / 0.6681 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.5067, allocations: 4 kB / 0.6681 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.5067, allocations: 3.984 kB / 0.6681 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008349/0.5151, allocations: 4.184 MB / 0.6722 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5151, allocations: 0 / 0.6722 GB, free: 13.37 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000683/0.5158, allocations: 139.8 kB / 0.6723 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009191/0.5167, allocations: 316.6 kB / 0.6727 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-05/0.5168, allocations: 20 kB / 0.6727 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003727/0.5205, allocations: 2.963 MB / 0.6756 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.5205, allocations: 3.938 kB / 0.6756 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004567/0.5251, allocations: 3.083 MB / 0.6786 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005987/0.5257, allocations: 210.3 kB / 0.6788 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003519/0.526, allocations: 16.06 kB / 0.6788 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/0.5269, allocations: 52 kB / 0.6788 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.5271, allocations: 60.27 kB / 0.6789 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-05/0.5271, allocations: 24 kB / 0.6789 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002995/0.5301, allocations: 1.636 MB / 0.6805 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5301, allocations: 0 / 0.6805 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003289/0.5334, allocations: 0.5859 MB / 0.6811 GB, free: 4.121 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.005086/0.5385, allocations: 3.689 MB / 0.6847 GB, free: 412 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005288/0.5438, allocations: 3.1 MB / 0.6877 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.5438, allocations: 0 / 0.6877 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001209/0.545, allocations: 0.8092 MB / 0.6885 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.5466, allocations: 212.5 kB / 0.6887 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04926/0.5958, allocations: 28.41 MB / 0.7165 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003042/0.5989, allocations: 2.163 MB / 0.7186 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003207/0.6021, allocations: 1.387 MB / 0.7199 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/0.6038, allocations: 1.023 MB / 0.7209 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.6038, allocations: 0 / 0.7209 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.313/0.9168, allocations: 42.16 MB / 0.7621 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.89/20.81, allocations: 6.5 kB / 0.7621 GB, free: 134.6 MB / 0.5606 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.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_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: 23.895006499020383]