Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.01027/0.01027, allocations: 105.4 kB / 21.98 MB, free: 5.223 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.002172/0.002172, allocations: 214.3 kB / 25.29 MB, free: 3.203 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.481/1.481, allocations: 230.5 MB / 258.9 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2518/0.2518, allocations: 46.93 MB / 362.3 MB, free: 4.195 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedTranslation.frame_b.r_0.1.|fixedTranslation.frame_b.r_0.2.|fixedTranslation.frame_b.r_0.3.|fixedTranslation.frame_b.f.1.|fixedTranslation.frame_b.f.2.|fixedTranslation.frame_b.f.3.|fixedTranslation.frame_b.t.1.|fixedTranslation.frame_b.t.2.|fixedTranslation.frame_b.t.3.|fixed1.frame_b.r_0.1.|fixed1.frame_b.r_0.2.|fixed1.frame_b.r_0.3.|fixed1.frame_b.f.1.|fixed1.frame_b.f.2.|fixed1.frame_b.f.3.|fixed1.frame_b.t.1.|fixed1.frame_b.t.2.|fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002335, allocations: 79.84 kB / 0.4982 GB, free: 7.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4096/0.412, allocations: 66.08 MB / 0.5627 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01416/0.4261, allocations: 11.45 MB / 0.5739 GB, free: 8.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00726/0.4334, allocations: 2.874 MB / 0.5767 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001871/0.4353, allocations: 59.81 kB / 0.5768 GB, free: 5.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.4384, allocations: 1.358 MB / 0.5781 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003548/0.442, allocations: 1.288 MB / 0.5793 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.4423, allocations: 79.86 kB / 0.5794 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003899/0.4462, allocations: 2.768 MB / 0.5821 GB, free: 308 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002235/0.4485, allocations: 1.615 MB / 0.5837 GB, free: 14.65 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.4503, allocations: 1.078 MB / 0.5848 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002359/0.4527, allocations: 1.639 MB / 0.5864 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004531/0.4531, allocations: 208 kB / 0.5866 GB, free: 11.72 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001136/0.4543, allocations: 0.5032 MB / 0.587 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001566/0.4558, allocations: 1.468 MB / 0.5885 GB, free: 9.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001849/0.4577, allocations: 1.719 MB / 0.5902 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00718/0.4649, allocations: 5.517 MB / 0.5955 GB, free: 2.473 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.361e-05/0.4649, allocations: 4 kB / 0.5956 GB, free: 2.469 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4649, allocations: 0 / 0.5956 GB, free: 2.469 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001892/0.4651, allocations: 0 / 0.5956 GB, free: 2.469 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.007808/0.4729, allocations: 3.659 MB / 0.5991 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.4729, allocations: 11.97 kB / 0.5991 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0096/0.4825, allocations: 3.001 MB / 0.6021 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003691/0.4862, allocations: 1.503 MB / 0.6035 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/0.4864, allocations: 172.7 kB / 0.6037 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006113/0.487, allocations: 224 kB / 0.6039 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01596/0.503, allocations: 9.698 MB / 0.6134 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.675e-05/0.503, allocations: 19.81 kB / 0.6134 GB, free: 15.65 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003271/0.5033, allocations: 115.8 kB / 0.6135 GB, free: 15.54 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003891/0.5072, allocations: 2.439 MB / 0.6159 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01745/0.5247, allocations: 8.81 MB / 0.6245 GB, free: 4.266 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.5702, allocations: 30.51 MB / 0.6543 GB, free: 4.93 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004898/0.5751, allocations: 2.271 MB / 0.6565 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.5763, allocations: 0.8555 MB / 0.6573 GB, free: 1.789 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/0.5764, allocations: 16.98 kB / 0.6574 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.969e-05/0.5765, allocations: 47.56 kB / 0.6574 GB, free: 1.715 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 3.636e-06/0.5765, allocations: 0 / 0.6574 GB, free: 1.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=148): time 0.007526/0.584, allocations: 3.387 MB / 0.6607 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.717e-05/0.584, allocations: 64.34 kB / 0.6608 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004753/0.5888, allocations: 3.119 MB / 0.6638 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.852e-05/0.5889, allocations: 41.7 kB / 0.6639 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002265/0.5911, allocations: 2.794 MB / 0.6666 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005992/0.5917, allocations: 0.5892 MB / 0.6672 GB, free: 7.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001297/0.593, allocations: 0.9806 MB / 0.6681 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.5932, allocations: 301.1 kB / 0.6684 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002253/0.5955, allocations: 1.532 MB / 0.6699 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/0.6005, allocations: 4.451 MB / 0.6743 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008165/0.6086, allocations: 6.543 MB / 0.6806 GB, free: 6.926 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.935e-05/0.6087, allocations: 28 kB / 0.6807 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01011/0.6188, allocations: 5.837 MB / 0.6864 GB, free: 1.051 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/0.6189, allocations: 48 kB / 0.6864 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.619, allocations: 104 kB / 0.6865 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.6192, allocations: 136.1 kB / 0.6866 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003093/0.6222, allocations: 1.069 MB / 0.6877 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001898/0.6224, allocations: 203.2 kB / 0.6879 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/0.6257, allocations: 0.7017 MB / 0.6886 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003739/0.6261, allocations: 292 kB / 0.6888 GB, free: 14.51 MB / 0.5294 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.003127/0.6292, allocations: 1.95 MB / 0.6908 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/0.6297, allocations: 270.1 kB / 0.691 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006114/0.6303, allocations: 335.8 kB / 0.6913 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.239e-05/0.6303, allocations: 16 kB / 0.6913 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.604e-05/0.6303, allocations: 3.938 kB / 0.6913 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.6303, allocations: 7.922 kB / 0.6914 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01111/0.6414, allocations: 6.846 MB / 0.698 GB, free: 4.926 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.6414, allocations: 16.14 kB / 0.6981 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007285/0.6422, allocations: 171.7 kB / 0.6982 GB, free: 4.742 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.696e-05/0.6422, allocations: 12 kB / 0.6982 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.6423, allocations: 31.94 kB / 0.6983 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-05/0.6423, allocations: 15.92 kB / 0.6983 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/0.6423, allocations: 11.94 kB / 0.6983 GB, free: 4.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003057/0.6454, allocations: 2.273 MB / 0.7005 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006812/0.646, allocations: 285.8 kB / 0.7008 GB, free: 2.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/0.6463, allocations: 31.94 kB / 0.7008 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006902/0.647, allocations: 43.95 kB / 0.7009 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.6471, allocations: 80.41 kB / 0.7009 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.6472, allocations: 52 kB / 0.701 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003078/0.6503, allocations: 1.975 MB / 0.7029 GB, free: 15.83 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.6503, allocations: 0 / 0.7029 GB, free: 15.83 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003855/0.6542, allocations: 1.009 MB / 0.7039 GB, free: 14.82 MB / 0.545 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.0003431/0.6545, allocations: 150.9 kB / 0.704 GB, free: 14.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005887/0.6604, allocations: 3.43 MB / 0.7074 GB, free: 11.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.6604, allocations: 7.938 kB / 0.7074 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/0.6616, allocations: 0.8598 MB / 0.7082 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00159/0.6632, allocations: 338.5 kB / 0.7086 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01436/0.6776, allocations: 8.17 MB / 0.7165 GB, free: 1.754 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003579/0.6812, allocations: 3.027 MB / 0.7195 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007777/0.6819, allocations: 227.4 kB / 0.7197 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/0.6819, allocations: 0 / 0.7197 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.4058/1.088, allocations: 46.73 MB / 0.7653 GB, free: 128.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 12.466469626873732]