Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.001902/0.001902, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002528/0.002528, allocations: 213.4 kB / 24.52 MB, free: 3.941 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.502/1.502, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2273/0.2273, allocations: 44.92 MB / 359.6 MB, free: 6.059 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.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation",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.002173/0.002173, allocations: 55.91 kB / 0.4938 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.3108, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01266/0.3234, allocations: 9.867 MB / 0.5674 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00623/0.3297, allocations: 2.71 MB / 0.57 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.3312, allocations: 63.81 kB / 0.5701 GB, free: 10.84 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003157/0.3344, allocations: 1.308 MB / 0.5713 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.3377, allocations: 1.288 MB / 0.5726 GB, free: 8.238 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004681/0.3381, allocations: 75.86 kB / 0.5727 GB, free: 8.164 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004397/0.3425, allocations: 2.756 MB / 0.5754 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002834/0.3454, allocations: 1.623 MB / 0.5769 GB, free: 3.742 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002242/0.3476, allocations: 1.082 MB / 0.578 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002643/0.3502, allocations: 1.639 MB / 0.5796 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006933/0.3509, allocations: 204 kB / 0.5798 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.3522, allocations: 419.5 kB / 0.5802 GB, free: 412 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00181/0.354, allocations: 1.468 MB / 0.5816 GB, free: 14.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002108/0.3561, allocations: 1.206 MB / 0.5828 GB, free: 13.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.3633, allocations: 5.53 MB / 0.5882 GB, free: 8.156 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.3633, allocations: 3.938 kB / 0.5882 GB, free: 8.152 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3633, allocations: 0 / 0.5882 GB, free: 8.152 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001973/0.3635, allocations: 0 / 0.5882 GB, free: 8.152 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: 1477 * Number of variables: 1477 Notification: Performance of Generate backend data structure: time 0.007426/0.3709, allocations: 3.667 MB / 0.5918 GB, free: 4.43 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3709, allocations: 12.03 kB / 0.5918 GB, free: 4.418 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000121/0.3711, allocations: 84.64 kB / 0.5919 GB, free: 4.332 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001381/0.3724, allocations: 0.6836 MB / 0.5926 GB, free: 3.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.3832, allocations: 3.005 MB / 0.5955 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.3868, allocations: 1.511 MB / 0.597 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/0.387, allocations: 180.4 kB / 0.5971 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007826/0.3878, allocations: 219.8 kB / 0.5973 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4034, allocations: 9.694 MB / 0.6068 GB, free: 4.551 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.053e-05/0.4035, allocations: 23.75 kB / 0.6068 GB, free: 4.527 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003506/0.4039, allocations: 115.8 kB / 0.6069 GB, free: 4.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004027/0.4079, allocations: 2.439 MB / 0.6093 GB, free: 1.973 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/0.424, allocations: 8.811 MB / 0.6179 GB, free: 9.145 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04575/0.4698, allocations: 29.07 MB / 0.6463 GB, free: 11.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00523/0.475, allocations: 2.265 MB / 0.6485 GB, free: 8.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.4763, allocations: 0.8477 MB / 0.6494 GB, free: 8.121 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.973e-05/0.4764, allocations: 13 kB / 0.6494 GB, free: 8.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.814e-05/0.4764, allocations: 51.53 kB / 0.6494 GB, free: 8.047 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.048e-06/0.4764, allocations: 0 / 0.6494 GB, free: 8.047 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007902/0.4843, allocations: 3.387 MB / 0.6527 GB, free: 4.66 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.4844, allocations: 64.41 kB / 0.6528 GB, free: 4.586 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.4895, allocations: 3.127 MB / 0.6558 GB, free: 1.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000113/0.4896, allocations: 41.7 kB / 0.6559 GB, free: 1.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/0.492, allocations: 2.787 MB / 0.6586 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006835/0.4927, allocations: 0.5854 MB / 0.6592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/0.4942, allocations: 0.9844 MB / 0.6601 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.4944, allocations: 305.1 kB / 0.6604 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002488/0.4968, allocations: 1.528 MB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005087/0.5019, allocations: 4.447 MB / 0.6663 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008276/0.5102, allocations: 6.543 MB / 0.6727 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000112/0.5103, allocations: 28 kB / 0.6727 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01133/0.5216, allocations: 5.846 MB / 0.6784 GB, free: 7.375 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001285/0.5218, allocations: 52 kB / 0.6784 GB, free: 7.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001778/0.522, allocations: 103.9 kB / 0.6785 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001959/0.5221, allocations: 143.8 kB / 0.6787 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003357/0.5255, allocations: 1.061 MB / 0.6797 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002124/0.5257, allocations: 203.2 kB / 0.6799 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/0.529, allocations: 0.6901 MB / 0.6806 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006207/0.5297, allocations: 292 kB / 0.6809 GB, free: 4.844 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 470 * Number of states: 0 () * Number of discrete variables: 29 (arrow.arrowLine.twoHeadedArrow,arrow.headAtOrigin,arrow.color[3],arrow.color[2],arrow.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (588): * Single equations (assignments): 582 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00347/0.5331, allocations: 1.946 MB / 0.6828 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004834/0.5336, allocations: 278.1 kB / 0.683 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007724/0.5344, allocations: 327.7 kB / 0.6833 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.704e-05/0.5344, allocations: 20 kB / 0.6834 GB, free: 2.266 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.5344, allocations: 3.938 kB / 0.6834 GB, free: 2.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.5344, allocations: 7.969 kB / 0.6834 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01242/0.5469, allocations: 6.662 MB / 0.6899 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/0.5469, allocations: 8.875 kB / 0.6899 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007696/0.5477, allocations: 171.7 kB / 0.69 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.844e-05/0.5477, allocations: 19.94 kB / 0.6901 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.125e-05/0.5478, allocations: 27.98 kB / 0.6901 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.586e-05/0.5478, allocations: 15.94 kB / 0.6901 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.5478, allocations: 15.92 kB / 0.6901 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003153/0.551, allocations: 2.265 MB / 0.6923 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007021/0.5517, allocations: 289.8 kB / 0.6926 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004601/0.5521, allocations: 31.98 kB / 0.6926 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/0.5531, allocations: 43.95 kB / 0.6927 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.5533, allocations: 88.33 kB / 0.6928 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.5534, allocations: 52.06 kB / 0.6928 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003466/0.5568, allocations: 1.979 MB / 0.6947 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5568, allocations: 0 / 0.6947 GB, free: 6.336 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003715/0.5605, allocations: 1.005 MB / 0.6957 GB, free: 5.328 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * 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 (100): * Single equations (assignments): 94 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003777/0.5643, allocations: 2.915 MB / 0.6986 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006001/0.5703, allocations: 3.434 MB / 0.7019 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.999e-06/0.5703, allocations: 0 / 0.7019 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.5716, allocations: 0.8643 MB / 0.7028 GB, free: 14.03 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/0.5736, allocations: 322.8 kB / 0.7031 GB, free: 13.72 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.308/0.8816, allocations: 33.52 MB / 0.7358 GB, free: 154.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00381/0.8854, allocations: 2.459 MB / 0.7382 GB, free: 153.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004882/0.8903, allocations: 1.721 MB / 0.7399 GB, free: 153.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002051/0.8923, allocations: 1.543 MB / 0.7414 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.783e-06/0.8923, allocations: 0 / 0.7414 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08195/0.9743, allocations: 47.52 MB / 0.7878 GB, free: 105.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.4/20.38, allocations: 3.938 kB / 0.7878 GB, free: 105.7 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.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.11827372398693]