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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") translateModel(ModelicaTest.MultiBody.Parts.FixedTranslation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009983/0.0009982, allocations: 93.36 kB / 17 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001363/0.001363, allocations: 179.8 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 223.3 MB / 241.9 MB, free: 308 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.252/0.252, allocations: 44.26 MB / 337.3 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004835/0.0004838, allocations: 8 kB / 409.7 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1699, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02701/0.197, allocations: 26.01 MB / 497.6 MB, free: 3.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01782/0.2148, allocations: 5.36 MB / 0.4912 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008115/0.223, allocations: 115.7 kB / 0.4913 GB, free: 14.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006149/0.2292, allocations: 1.268 MB / 0.4925 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01171/0.241, allocations: 3.549 MB / 0.496 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001232/0.2422, allocations: 75.94 kB / 0.4961 GB, free: 9.188 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004661/0.2469, allocations: 3.129 MB / 0.4991 GB, free: 6.055 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004/0.2509, allocations: 1.966 MB / 0.501 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002259/0.2532, allocations: 0.926 MB / 0.5019 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002611/0.2558, allocations: 1.448 MB / 0.5034 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008229/0.2567, allocations: 120 kB / 0.5035 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001577/0.2582, allocations: 399.3 kB / 0.5038 GB, free: 1.152 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3314/0.5896, allocations: 1.318 MB / 0.5051 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001637/0.5913, allocations: 0.6989 MB / 0.5058 GB, free: 13.8 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006691/0.598, allocations: 4.203 MB / 0.5099 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.598, allocations: 0.9688 kB / 0.5099 GB, free: 13.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.598, allocations: 1 kB / 0.5099 GB, free: 13.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002193/0.5983, allocations: 0 / 0.5099 GB, free: 13.51 MB / 382.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.006427/0.6047, allocations: 3.034 MB / 0.5129 GB, free: 11.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.6048, allocations: 11.66 kB / 0.5129 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/0.6142, allocations: 3.064 MB / 0.5159 GB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.6177, allocations: 1.528 MB / 0.5174 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002076/0.6179, allocations: 170 kB / 0.5175 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005025/0.6184, allocations: 228.3 kB / 0.5178 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01776/0.6362, allocations: 9.681 MB / 0.5272 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.009e-05/0.6363, allocations: 22.09 kB / 0.5272 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003457/0.6366, allocations: 114.1 kB / 0.5273 GB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003776/0.6404, allocations: 2.438 MB / 0.5297 GB, free: 9.906 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01657/0.657, allocations: 8.769 MB / 0.5383 GB, free: 8.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05759/0.7146, allocations: 30.69 MB / 0.5683 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006439/0.7211, allocations: 3.264 MB / 0.5715 GB, free: 9.418 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001698/0.7229, allocations: 0.914 MB / 0.5723 GB, free: 8.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.012e-05/0.723, allocations: 23.47 kB / 0.5724 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.723, allocations: 39.56 kB / 0.5724 GB, free: 8.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.95e-06/0.723, allocations: 4 kB / 0.5724 GB, free: 8.434 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.008777/0.7318, allocations: 3.358 MB / 0.5757 GB, free: 5.066 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.7319, allocations: 67.41 kB / 0.5758 GB, free: 4.992 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008055/0.74, allocations: 3.099 MB / 0.5788 GB, free: 1.879 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004359/0.7405, allocations: 45.61 kB / 0.5788 GB, free: 1.832 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003138/0.7436, allocations: 2.683 MB / 0.5814 GB, free: 15.16 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001241/0.7449, allocations: 0.5613 MB / 0.582 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005858/0.7455, allocations: 92 kB / 0.5821 GB, free: 14.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0005994/0.7461, allocations: 0.5125 MB / 0.5826 GB, free: 14 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003064/0.7492, allocations: 1.512 MB / 0.5841 GB, free: 12.48 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006324/0.7556, allocations: 4.428 MB / 0.5884 GB, free: 6.641 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005171/0.7608, allocations: 2.611 MB / 0.5909 GB, free: 4.129 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/0.7609, allocations: 28 kB / 0.591 GB, free: 4.102 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01342/0.7744, allocations: 5.795 MB / 0.5966 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.7745, allocations: 52 kB / 0.5967 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002194/0.7748, allocations: 106.5 kB / 0.5968 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002537/0.775, allocations: 148 kB / 0.5969 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/0.7794, allocations: 1.06 MB / 0.5979 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002857/0.7797, allocations: 200.4 kB / 0.5981 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/0.7858, allocations: 0.6777 MB / 0.5988 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001145/0.787, allocations: 296.5 kB / 0.5991 GB, free: 12.53 MB / 446.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006432/0.7934, allocations: 1.944 MB / 0.601 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/0.7942, allocations: 264.5 kB / 0.6012 GB, free: 10.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.7955, allocations: 331.8 kB / 0.6015 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.881e-05/0.7955, allocations: 16 kB / 0.6016 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.295e-05/0.7955, allocations: 5.641 kB / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.7956, allocations: 3.984 kB / 0.6016 GB, free: 10.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01827/0.8138, allocations: 6.881 MB / 0.6083 GB, free: 3.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/0.8139, allocations: 6.188 kB / 0.6083 GB, free: 3.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/0.8149, allocations: 176.2 kB / 0.6085 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-05/0.8149, allocations: 12 kB / 0.6085 GB, free: 2.926 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/0.8151, allocations: 32.61 kB / 0.6085 GB, free: 2.895 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.946e-05/0.8151, allocations: 14.25 kB / 0.6085 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.8151, allocations: 14.53 kB / 0.6085 GB, free: 2.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.8187, allocations: 2.242 MB / 0.6107 GB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.8198, allocations: 353.4 kB / 0.6111 GB, free: 168 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007857/0.8206, allocations: 24 kB / 0.6111 GB, free: 144 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001311/0.822, allocations: 47.91 kB / 0.6111 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.8221, allocations: 90.8 kB / 0.6112 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/0.8223, allocations: 43.95 kB / 0.6113 GB, free: 15.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004935/0.8272, allocations: 1.965 MB / 0.6132 GB, free: 14.01 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8273, allocations: 0 / 0.6132 GB, free: 14.01 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.006229/0.8335, allocations: 1.015 MB / 0.6142 GB, free: 12.99 MB / 462.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005969/0.8341, allocations: 159 kB / 0.6143 GB, free: 12.84 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007113/0.8412, allocations: 3.529 MB / 0.6178 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.8413, allocations: 0 / 0.6178 GB, free: 9.543 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.8427, allocations: 0.9188 MB / 0.6187 GB, free: 8.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/0.846, allocations: 313.9 kB / 0.619 GB, free: 8.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02319/0.8692, allocations: 9.179 MB / 0.6279 GB, free: 15.03 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00683/0.876, allocations: 3.016 MB / 0.6309 GB, free: 11.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004949/0.881, allocations: 1.718 MB / 0.6326 GB, free: 10.26 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007581/0.8818, allocations: 183.4 kB / 0.6327 GB, free: 10.08 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/0.8818, allocations: 0 / 0.6327 GB, free: 10.08 MB / 478.1 MB Notification: Performance of Templates: time 0.05029/0.9321, allocations: 21.55 MB / 0.6538 GB, free: 4.699 MB / 494.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches