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.001511/0.001512, allocations: 95.95 kB / 16.99 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.001514/0.001514, allocations: 178.7 kB / 17.88 MB, free: 5.957 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.819/1.819, allocations: 223.2 MB / 241.8 MB, free: 14.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.26/0.26, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003095, allocations: 15.92 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 61.92 MB / 471.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.02585/0.1611, allocations: 24.63 MB / 496.1 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01416/0.1753, allocations: 5.604 MB / 0.4899 GB, free: 15.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006165/0.1816, allocations: 115.8 kB / 0.49 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004682/0.1863, allocations: 1.264 MB / 0.4913 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01536/0.2017, allocations: 3.631 MB / 0.4948 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2028, allocations: 83.88 kB / 0.4949 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003687/0.2065, allocations: 1.537 MB / 0.4964 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003652/0.2102, allocations: 1.95 MB / 0.4983 GB, free: 6.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.2115, allocations: 0.7667 MB / 0.4991 GB, free: 6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.2128, allocations: 1.032 MB / 0.5001 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002757/0.2131, allocations: 120 kB / 0.5002 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008507/0.2139, allocations: 387.5 kB / 0.5006 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00107/0.215, allocations: 1.231 MB / 0.5018 GB, free: 3.234 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006732/0.2157, allocations: 0.7025 MB / 0.5024 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2812/0.4969, allocations: 4.199 MB / 0.5065 GB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4969, allocations: 0.625 kB / 0.5065 GB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.497, allocations: 0 / 0.5065 GB, free: 14.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002246/0.4972, allocations: 0.9375 kB / 0.5065 GB, free: 14.87 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.006659/0.5039, allocations: 3.036 MB / 0.5095 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.5039, allocations: 9.406 kB / 0.5095 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.5171, allocations: 3.628 MB / 0.5131 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004943/0.522, allocations: 1.528 MB / 0.5146 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002165/0.5223, allocations: 178.8 kB / 0.5147 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001072/0.5233, allocations: 224.1 kB / 0.5149 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.5422, allocations: 9.724 MB / 0.5244 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.025e-05/0.5423, allocations: 21.72 kB / 0.5245 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004318/0.5428, allocations: 110.2 kB / 0.5246 GB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004455/0.5472, allocations: 2.435 MB / 0.5269 GB, free: 11.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01995/0.5672, allocations: 8.831 MB / 0.5356 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.6189, allocations: 30.73 MB / 0.5656 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006009/0.625, allocations: 3.281 MB / 0.5688 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001077/0.6251, allocations: 19.95 kB / 0.5688 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.6251, allocations: 39.56 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 8.796e-06/0.6252, allocations: 4 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=148): time 0.008733/0.6339, allocations: 3.887 MB / 0.5726 GB, free: 7.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.634, allocations: 60.41 kB / 0.5727 GB, free: 7.703 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006587/0.6406, allocations: 3.103 MB / 0.5757 GB, free: 4.586 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.6408, allocations: 41.7 kB / 0.5758 GB, free: 4.539 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002472/0.6433, allocations: 2.682 MB / 0.5784 GB, free: 1.871 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008674/0.6441, allocations: 0.5654 MB / 0.5789 GB, free: 1.312 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003364/0.6445, allocations: 92 kB / 0.579 GB, free: 1.223 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0004589/0.645, allocations: 0.5118 MB / 0.5795 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.6478, allocations: 1.512 MB / 0.581 GB, free: 15.19 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004919/0.6527, allocations: 4.418 MB / 0.5853 GB, free: 9.363 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00419/0.6569, allocations: 2.605 MB / 0.5878 GB, free: 6.855 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.075e-05/0.657, allocations: 28 kB / 0.5879 GB, free: 6.828 MB / 430.1 MB Notification: Performance of matching and sorting (n=636) (initialization): time 0.01068/0.6677, allocations: 5.795 MB / 0.5935 GB, free: 1.629 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.6679, allocations: 49.53 kB / 0.5936 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002036/0.6681, allocations: 104.9 kB / 0.5937 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001757/0.6683, allocations: 152 kB / 0.5938 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003714/0.672, allocations: 1.06 MB / 0.5949 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002227/0.6722, allocations: 198.9 kB / 0.5951 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004659/0.6769, allocations: 0.67 MB / 0.5957 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000752/0.6777, allocations: 302.6 kB / 0.596 GB, free: 15.25 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.005125/0.6828, allocations: 1.946 MB / 0.5979 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007367/0.6836, allocations: 264.5 kB / 0.5981 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009315/0.6845, allocations: 331.8 kB / 0.5985 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.6846, allocations: 20.27 kB / 0.5985 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.137e-05/0.6846, allocations: 0.75 kB / 0.5985 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.6846, allocations: 3.984 kB / 0.5985 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.7006, allocations: 6.874 MB / 0.6052 GB, free: 5.684 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.746e-05/0.7006, allocations: 8 kB / 0.6052 GB, free: 5.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.7014, allocations: 175.7 kB / 0.6054 GB, free: 5.504 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.328e-05/0.7015, allocations: 12 kB / 0.6054 GB, free: 5.492 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.7016, allocations: 30.69 kB / 0.6054 GB, free: 5.465 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.829e-05/0.7016, allocations: 19.88 kB / 0.6054 GB, free: 5.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.7016, allocations: 12 kB / 0.6054 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.7051, allocations: 2.895 MB / 0.6083 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001285/0.7064, allocations: 361.3 kB / 0.6086 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008556/0.7073, allocations: 26.42 kB / 0.6086 GB, free: 1.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/0.7086, allocations: 43.95 kB / 0.6087 GB, free: 1.707 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001698/0.7088, allocations: 90.11 kB / 0.6088 GB, free: 1.621 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/0.7089, allocations: 51.34 kB / 0.6088 GB, free: 1.574 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004403/0.7133, allocations: 1.964 MB / 0.6107 GB, free: 15.61 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.7133, allocations: 0 / 0.6107 GB, free: 15.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005614/0.7189, allocations: 1.011 MB / 0.6117 GB, free: 14.6 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.0005395/0.7195, allocations: 162.4 kB / 0.6119 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006712/0.7262, allocations: 3.524 MB / 0.6153 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.285e-05/0.7262, allocations: 4 kB / 0.6153 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.7279, allocations: 0.919 MB / 0.6162 GB, free: 10.02 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.7312, allocations: 294 kB / 0.6165 GB, free: 9.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01939/0.7506, allocations: 9.137 MB / 0.6254 GB, free: 488 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005548/0.7562, allocations: 3.089 MB / 0.6284 GB, free: 13.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004651/0.7609, allocations: 1.727 MB / 0.6301 GB, free: 11.62 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007361/0.7616, allocations: 183.4 kB / 0.6303 GB, free: 11.44 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.7617, allocations: 0 / 0.6303 GB, free: 11.44 MB / 478.1 MB Notification: Performance of Templates: time 0.05118/0.8128, allocations: 21.52 MB / 0.6513 GB, free: 6.09 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedTranslation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches