Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009182/0.0009182, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009499/0.0009499, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 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 0.905/0.905, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 34.25 MB / 294.9 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.072e-05/2.275e-05, allocations: 2.281 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.1833/0.1834, allocations: 9.943 MB / 452.1 MB, free: 38.89 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.1866, allocations: 2.726 MB / 454.8 MB, free: 37.2 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/0.1871, allocations: 63.47 kB / 454.9 MB, free: 37.19 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.1884, allocations: 1.367 MB / 456.3 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001104/0.1895, allocations: 1.313 MB / 457.6 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.1897, allocations: 86.11 kB / 457.7 MB, free: 35.97 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.1908, allocations: 2.818 MB / 460.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007688/0.1916, allocations: 1.63 MB / 462.1 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008101/0.1924, allocations: 1.568 MB / 463.7 MB, free: 33.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008318/0.1932, allocations: 1.539 MB / 465.2 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001583/0.1934, allocations: 207.4 kB / 465.4 MB, free: 32.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.1938, allocations: 475.2 kB / 465.9 MB, free: 32.91 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005211/0.1943, allocations: 1.517 MB / 467.4 MB, free: 32.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004131/0.1947, allocations: 0.8666 MB / 468.3 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002118/0.1968, allocations: 5.368 MB / 473.6 MB, free: 29.94 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1968, allocations: 0 / 473.6 MB, free: 29.94 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1968, allocations: 4 kB / 473.6 MB, free: 29.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.962e-05/0.1969, allocations: 0 / 473.6 MB, free: 29.93 MB / 410.7 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.002392/0.1993, allocations: 3.625 MB / 477.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.1993, allocations: 12.09 kB / 477.3 MB, free: 27.66 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004138/0.1997, allocations: 0.6804 MB / 477.9 MB, free: 27.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00538/0.2051, allocations: 3.024 MB / 481 MB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/0.2071, allocations: 1.524 MB / 482.5 MB, free: 26.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.2072, allocations: 169.7 kB / 482.7 MB, free: 26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003516/0.2075, allocations: 225.9 kB / 482.9 MB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008957/0.2165, allocations: 9.706 MB / 492.6 MB, free: 21.84 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.322e-05/0.2165, allocations: 27.22 kB / 492.6 MB, free: 21.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.2167, allocations: 110 kB / 492.7 MB, free: 21.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002372/0.2191, allocations: 2.436 MB / 495.2 MB, free: 21.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.2292, allocations: 8.8 MB / 0.4921 GB, free: 18.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01994/0.2491, allocations: 29.17 MB / 0.5206 GB, free: 4.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/0.2521, allocations: 2.339 MB / 0.5229 GB, free: 2.316 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007559/0.2528, allocations: 0.8598 MB / 0.5238 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/0.2529, allocations: 17 kB / 0.5238 GB, free: 1.434 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.2529, allocations: 43.56 kB / 0.5238 GB, free: 1.383 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 3.186e-06/0.2529, allocations: 0 / 0.5238 GB, free: 1.383 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.004488/0.2574, allocations: 3.546 MB / 0.5273 GB, free: 13.84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.605e-05/0.2574, allocations: 60.41 kB / 0.5273 GB, free: 13.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/0.2601, allocations: 3.297 MB / 0.5306 GB, free: 10.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001131/0.2602, allocations: 41.7 kB / 0.5306 GB, free: 10.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001274/0.2615, allocations: 2.763 MB / 0.5333 GB, free: 7.609 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/0.2618, allocations: 0.5814 MB / 0.5339 GB, free: 7.023 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007774/0.2625, allocations: 0.9611 MB / 0.5348 GB, free: 6.051 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.813e-05/0.2626, allocations: 313.1 kB / 0.5351 GB, free: 5.742 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001631/0.2642, allocations: 1.532 MB / 0.5366 GB, free: 4.203 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.2668, allocations: 4.447 MB / 0.5409 GB, free: 14.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004733/0.2715, allocations: 6.537 MB / 0.5473 GB, free: 6.309 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.001e-05/0.2716, allocations: 28 kB / 0.5474 GB, free: 6.281 MB / 458.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.005204/0.2768, allocations: 5.845 MB / 0.5531 GB, free: 452 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.2768, allocations: 52 kB / 0.5531 GB, free: 400 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-05/0.2769, allocations: 100 kB / 0.5532 GB, free: 300 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.242e-05/0.277, allocations: 136 kB / 0.5533 GB, free: 164 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/0.279, allocations: 1.061 MB / 0.5544 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001034/0.2791, allocations: 203.2 kB / 0.5546 GB, free: 14.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.2808, allocations: 0.6981 MB / 0.5552 GB, free: 14.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.281, allocations: 299.9 kB / 0.5555 GB, free: 13.9 MB / 474.7 MB 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.002153/0.2832, allocations: 1.942 MB / 0.5574 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.2834, allocations: 274.1 kB / 0.5577 GB, free: 11.68 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.2837, allocations: 331.8 kB / 0.558 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/0.2837, allocations: 20 kB / 0.558 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.2837, allocations: 0 / 0.558 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.2837, allocations: 9.281 kB / 0.558 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006481/0.2902, allocations: 6.698 MB / 0.5646 GB, free: 4.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.2902, allocations: 11.98 kB / 0.5646 GB, free: 4.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.2906, allocations: 175.7 kB / 0.5648 GB, free: 4.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.2906, allocations: 12 kB / 0.5648 GB, free: 4.273 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/0.2906, allocations: 24 kB / 0.5648 GB, free: 4.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.947e-06/0.2906, allocations: 19.92 kB / 0.5648 GB, free: 4.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.2906, allocations: 11.94 kB / 0.5648 GB, free: 4.219 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001679/0.2923, allocations: 2.254 MB / 0.567 GB, free: 1.848 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/0.2926, allocations: 289.8 kB / 0.5673 GB, free: 1.562 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/0.2927, allocations: 27.94 kB / 0.5673 GB, free: 1.535 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000382/0.2931, allocations: 43.95 kB / 0.5674 GB, free: 1.492 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.2932, allocations: 87.84 kB / 0.5674 GB, free: 1.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.762e-05/0.2933, allocations: 48 kB / 0.5675 GB, free: 1.363 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001789/0.295, allocations: 1.985 MB / 0.5694 GB, free: 15.38 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.295, allocations: 0 / 0.5694 GB, free: 15.38 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001979/0.297, allocations: 1.009 MB / 0.5704 GB, free: 14.37 MB / 490.7 MB 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.002001/0.299, allocations: 2.907 MB / 0.5733 GB, free: 11.36 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003034/0.3021, allocations: 3.43 MB / 0.5766 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3021, allocations: 0 / 0.5766 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006861/0.3027, allocations: 0.8678 MB / 0.5775 GB, free: 7.074 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009237/0.3037, allocations: 319.7 kB / 0.5778 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.028/0.3317, allocations: 33.36 MB / 0.6103 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00198/0.3336, allocations: 2.462 MB / 0.6127 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002255/0.3359, allocations: 1.722 MB / 0.6144 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/0.3371, allocations: 1.531 MB / 0.6159 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/0.3371, allocations: 4 kB / 0.6159 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2173/0.5545, allocations: 45.49 MB / 0.6603 GB, free: 159.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.698/9.253, allocations: 14.12 kB / 0.6604 GB, free: 159.1 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 11.403276385739446]