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.001147/0.001147, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001041/0.001041, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.296/1.296, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1981/0.1981, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 63.84 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3105, allocations: 60.81 MB / 0.5196 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedTranslation): time 0.01097/0.3216, allocations: 11.43 MB / 0.5307 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00717/0.3288, allocations: 2.799 MB / 0.5334 GB, free: 9.602 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001528/0.3303, allocations: 58.22 kB / 0.5335 GB, free: 9.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.333, allocations: 1.322 MB / 0.5348 GB, free: 8.688 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.3358, allocations: 1.246 MB / 0.536 GB, free: 7.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003254/0.3361, allocations: 78.47 kB / 0.5361 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004433/0.3406, allocations: 2.79 MB / 0.5388 GB, free: 6.211 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/0.3429, allocations: 1.778 MB / 0.5405 GB, free: 5.105 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.3451, allocations: 1.071 MB / 0.5416 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.3473, allocations: 1.482 MB / 0.543 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005873/0.3479, allocations: 205.3 kB / 0.5432 GB, free: 3.641 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.3492, allocations: 0.491 MB / 0.5437 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.3505, allocations: 1.457 MB / 0.5451 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.352, allocations: 1.735 MB / 0.5468 GB, free: 208 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00479/0.3568, allocations: 5.549 MB / 0.5523 GB, free: 10.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3569, allocations: 0 / 0.5523 GB, free: 10.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3569, allocations: 0 / 0.5523 GB, free: 10.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.654e-05/0.3569, allocations: 0 / 0.5523 GB, free: 10.63 MB / 414.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.004627/0.3616, allocations: 3.667 MB / 0.5558 GB, free: 6.898 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.3616, allocations: 8.031 kB / 0.5558 GB, free: 6.891 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009771/0.3714, allocations: 2.982 MB / 0.5588 GB, free: 3.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.374, allocations: 1.557 MB / 0.5603 GB, free: 2.293 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001137/0.3741, allocations: 180.6 kB / 0.5604 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004353/0.3745, allocations: 227.9 kB / 0.5607 GB, free: 1.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01215/0.3867, allocations: 9.698 MB / 0.5701 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-05/0.3868, allocations: 19.81 kB / 0.5702 GB, free: 7.73 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003175/0.3871, allocations: 111.8 kB / 0.5703 GB, free: 7.621 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00348/0.3906, allocations: 2.439 MB / 0.5726 GB, free: 5.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01356/0.4042, allocations: 8.812 MB / 0.5812 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03436/0.4386, allocations: 30.52 MB / 0.611 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004727/0.4433, allocations: 3.278 MB / 0.6142 GB, free: 9.508 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001102/0.4445, allocations: 0.918 MB / 0.6151 GB, free: 8.586 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/0.4445, allocations: 20.91 kB / 0.6152 GB, free: 8.57 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.678e-05/0.4446, allocations: 51.5 kB / 0.6152 GB, free: 8.512 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 3.466e-06/0.4446, allocations: 0 / 0.6152 GB, free: 8.512 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.006812/0.4514, allocations: 3.37 MB / 0.6185 GB, free: 5.129 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.4514, allocations: 64.34 kB / 0.6186 GB, free: 5.055 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003854/0.4553, allocations: 3.119 MB / 0.6216 GB, free: 1.918 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.936e-05/0.4554, allocations: 41.7 kB / 0.6217 GB, free: 1.871 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.4571, allocations: 2.689 MB / 0.6243 GB, free: 15.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004796/0.4576, allocations: 0.5592 MB / 0.6248 GB, free: 14.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001121/0.4587, allocations: 0.9719 MB / 0.6258 GB, free: 13.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/0.4588, allocations: 301.1 kB / 0.6261 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.4607, allocations: 1.536 MB / 0.6276 GB, free: 11.75 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003782/0.4645, allocations: 4.451 MB / 0.6319 GB, free: 5.844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006441/0.471, allocations: 6.535 MB / 0.6383 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.206e-05/0.471, allocations: 28 kB / 0.6383 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.008282/0.4793, allocations: 5.819 MB / 0.644 GB, free: 8.004 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.346e-05/0.4794, allocations: 53 kB / 0.644 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-05/0.4795, allocations: 100 kB / 0.6441 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.4796, allocations: 140 kB / 0.6443 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002796/0.4824, allocations: 1.064 MB / 0.6453 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001416/0.4826, allocations: 211.1 kB / 0.6455 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.4853, allocations: 0.6839 MB / 0.6462 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003478/0.4857, allocations: 288 kB / 0.6465 GB, free: 5.473 MB / 0.4981 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.002713/0.4884, allocations: 1.946 MB / 0.6484 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003532/0.4887, allocations: 256.6 kB / 0.6486 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006547/0.4894, allocations: 327.8 kB / 0.6489 GB, free: 2.938 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.588e-05/0.4894, allocations: 23.98 kB / 0.6489 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.785e-05/0.4895, allocations: 3.938 kB / 0.6489 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.4895, allocations: 7.969 kB / 0.649 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009273/0.4988, allocations: 6.87 MB / 0.6557 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/0.4988, allocations: 8 kB / 0.6557 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006956/0.4995, allocations: 179.8 kB / 0.6558 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/0.4995, allocations: 12 kB / 0.6559 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.718e-05/0.4996, allocations: 35.77 kB / 0.6559 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.327e-06/0.4996, allocations: 12 kB / 0.6559 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.4996, allocations: 11.94 kB / 0.6559 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.5021, allocations: 2.26 MB / 0.6581 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006791/0.5028, allocations: 353.3 kB / 0.6585 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/0.5031, allocations: 27.94 kB / 0.6585 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007035/0.5038, allocations: 43.95 kB / 0.6585 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/0.504, allocations: 84.42 kB / 0.6586 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.959e-05/0.5041, allocations: 48 kB / 0.6586 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002877/0.507, allocations: 1.983 MB / 0.6606 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.643e-06/0.507, allocations: 0 / 0.6606 GB, free: 6.699 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003278/0.5103, allocations: 1.015 MB / 0.6616 GB, free: 5.68 MB / 0.5137 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.0003299/0.5106, allocations: 166.8 kB / 0.6617 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004803/0.5154, allocations: 3.566 MB / 0.6652 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/0.5155, allocations: 4.375 kB / 0.6652 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.5166, allocations: 0.9251 MB / 0.6661 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/0.5182, allocations: 346.1 kB / 0.6665 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.5302, allocations: 8.041 MB / 0.6743 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002954/0.5331, allocations: 3.02 MB / 0.6773 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007171/0.5339, allocations: 227.4 kB / 0.6775 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of SimCode: time 6.82e-07/0.5339, allocations: 0 / 0.6775 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of Templates: time 0.285/0.8189, allocations: 46.68 MB / 0.7231 GB, free: 168.7 MB / 0.5606 GB 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedTranslation/FixedTranslation.csv","/var/lib/jenkins1/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