Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.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.00136/0.00136, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00163/0.00163, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9613/0.9613, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2661/0.2661, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 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.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 442.1 MB, free: 1.578 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.534e-05, allocations: 9.031 kB / 442.1 MB, free: 1.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.2001/0.2001, allocations: 9.93 MB / 452.1 MB, free: 38.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004345/0.2044, allocations: 2.728 MB / 454.8 MB, free: 37.05 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007497/0.2052, allocations: 62.94 kB / 454.9 MB, free: 37.04 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.2066, allocations: 1.365 MB / 456.2 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.2079, allocations: 1.312 MB / 457.5 MB, free: 35.87 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.2081, allocations: 85.52 kB / 457.6 MB, free: 35.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001374/0.2095, allocations: 2.823 MB / 460.4 MB, free: 34.64 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009607/0.2104, allocations: 1.627 MB / 462.1 MB, free: 33.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00116/0.2116, allocations: 1.561 MB / 463.6 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.2127, allocations: 1.548 MB / 465.2 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002082/0.2129, allocations: 205.9 kB / 465.4 MB, free: 32.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006194/0.2135, allocations: 479.2 kB / 465.9 MB, free: 32.76 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007545/0.2143, allocations: 1.513 MB / 467.4 MB, free: 32.13 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.2148, allocations: 0.8754 MB / 468.2 MB, free: 31.69 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003388/0.2182, allocations: 5.369 MB / 473.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.2182, allocations: 0 / 473.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2182, allocations: 0 / 473.6 MB, free: 29.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001237/0.2184, allocations: 0 / 473.6 MB, free: 29.79 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.003874/0.2222, allocations: 3.62 MB / 477.2 MB, free: 27.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/0.2223, allocations: 9.031 kB / 477.2 MB, free: 27.52 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005672/0.2229, allocations: 0.6823 MB / 477.9 MB, free: 27.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005724/0.2286, allocations: 3.029 MB / 481 MB, free: 26.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003028/0.2316, allocations: 1.516 MB / 482.5 MB, free: 25.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.2317, allocations: 177.2 kB / 482.6 MB, free: 25.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003658/0.2321, allocations: 218.6 kB / 482.9 MB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01475/0.2468, allocations: 9.707 MB / 492.6 MB, free: 21.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.2469, allocations: 24.31 kB / 492.6 MB, free: 21.69 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/0.2471, allocations: 109.9 kB / 492.7 MB, free: 21.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003211/0.2503, allocations: 2.439 MB / 495.1 MB, free: 21.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01592/0.2663, allocations: 8.809 MB / 0.4921 GB, free: 18.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03063/0.2969, allocations: 29.17 MB / 0.5206 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003395/0.3003, allocations: 2.343 MB / 0.5229 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.3011, allocations: 0.8486 MB / 0.5237 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.359e-05/0.3011, allocations: 16.98 kB / 0.5238 GB, free: 1.293 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.3012, allocations: 43.56 kB / 0.5238 GB, free: 1.242 MB / 426.7 MB Notification: Performance of pre-optimization done (n=148): time 3.426e-06/0.3012, allocations: 0 / 0.5238 GB, free: 1.242 MB / 426.7 MB Notification: Performance of matching and sorting (n=148): time 0.004729/0.3059, allocations: 3.531 MB / 0.5272 GB, free: 13.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/0.3059, allocations: 60.41 kB / 0.5273 GB, free: 13.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003143/0.3091, allocations: 3.305 MB / 0.5305 GB, free: 10.31 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3092, allocations: 45.69 kB / 0.5306 GB, free: 10.26 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.3105, allocations: 2.759 MB / 0.5333 GB, free: 7.477 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004589/0.311, allocations: 0.5853 MB / 0.5338 GB, free: 6.887 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008193/0.3118, allocations: 0.9611 MB / 0.5348 GB, free: 5.914 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.711e-05/0.3119, allocations: 309 kB / 0.5351 GB, free: 5.609 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/0.3133, allocations: 1.532 MB / 0.5366 GB, free: 4.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.316, allocations: 4.447 MB / 0.5409 GB, free: 14.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005274/0.3213, allocations: 6.546 MB / 0.5473 GB, free: 6.172 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-05/0.3214, allocations: 28 kB / 0.5473 GB, free: 6.145 MB / 458.7 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.007926/0.3293, allocations: 5.834 MB / 0.553 GB, free: 316 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.638e-05/0.3293, allocations: 51.98 kB / 0.5531 GB, free: 264 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002801/0.3296, allocations: 104 kB / 0.5532 GB, free: 160 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.915e-05/0.3297, allocations: 141.5 kB / 0.5533 GB, free: 20 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/0.3316, allocations: 1.057 MB / 0.5543 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-05/0.3317, allocations: 207.2 kB / 0.5545 GB, free: 14.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002588/0.3342, allocations: 0.694 MB / 0.5552 GB, free: 14.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003126/0.3346, allocations: 295.9 kB / 0.5555 GB, free: 13.77 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.002685/0.3372, allocations: 1.943 MB / 0.5574 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003713/0.3376, allocations: 270.1 kB / 0.5577 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003984/0.338, allocations: 331.8 kB / 0.558 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/0.338, allocations: 23.98 kB / 0.558 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/0.338, allocations: 5.969 kB / 0.558 GB, free: 11.19 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.3381, allocations: 3.984 kB / 0.558 GB, free: 11.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006978/0.345, allocations: 6.701 MB / 0.5645 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.345, allocations: 8 kB / 0.5646 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.3454, allocations: 183.6 kB / 0.5647 GB, free: 4.145 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.3455, allocations: 8 kB / 0.5647 GB, free: 4.137 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.376e-05/0.3455, allocations: 32.64 kB / 0.5648 GB, free: 4.105 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.057e-05/0.3455, allocations: 15.94 kB / 0.5648 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.3455, allocations: 14.34 kB / 0.5648 GB, free: 4.078 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3474, allocations: 2.249 MB / 0.567 GB, free: 1.715 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006561/0.348, allocations: 289.8 kB / 0.5673 GB, free: 1.43 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001465/0.3482, allocations: 27.98 kB / 0.5673 GB, free: 1.402 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000383/0.3486, allocations: 43.95 kB / 0.5673 GB, free: 1.359 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3487, allocations: 88.28 kB / 0.5674 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.279e-05/0.3487, allocations: 55.98 kB / 0.5675 GB, free: 1.219 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002091/0.3508, allocations: 1.979 MB / 0.5694 GB, free: 15.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3508, allocations: 0 / 0.5694 GB, free: 15.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002911/0.3537, allocations: 1.001 MB / 0.5704 GB, free: 14.23 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.002237/0.356, allocations: 2.907 MB / 0.5732 GB, free: 11.21 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004423/0.3604, allocations: 3.427 MB / 0.5766 GB, free: 7.812 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/0.3604, allocations: 5.375 kB / 0.5766 GB, free: 7.809 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007885/0.3612, allocations: 0.8626 MB / 0.5774 GB, free: 6.941 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001439/0.3626, allocations: 326 kB / 0.5777 GB, free: 6.648 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03719/0.3998, allocations: 33.36 MB / 0.6103 GB, free: 0.9883 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002689/0.4025, allocations: 2.458 MB / 0.6127 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002462/0.405, allocations: 1.722 MB / 0.6144 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.4065, allocations: 1.551 MB / 0.6159 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/0.4065, allocations: 3.938 kB / 0.6159 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.242/0.6485, allocations: 45.48 MB / 0.6603 GB, free: 159.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.692/9.34, allocations: 11.73 kB / 0.6603 GB, free: 159.2 MB / 0.5417 GB " [Timeout remaining time 651] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FixedTranslation.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.628208710812032]