Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.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.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fixedRotation.frame_b.r_0.1.|fixedRotation.frame_b.r_0.2.|fixedRotation.frame_b.r_0.3.|fixedRotation.frame_b.f.1.|fixedRotation.frame_b.f.2.|fixedRotation.frame_b.f.3.|fixedRotation.frame_b.t.1.|fixedRotation.frame_b.t.2.|fixedRotation.frame_b.t.3.|fixedRotation1.frame_b.r_0.1.|fixedRotation1.frame_b.r_0.2.|fixedRotation1.frame_b.r_0.3.|fixedRotation1.frame_b.f.1.|fixedRotation1.frame_b.f.2.|fixedRotation1.frame_b.f.3.|fixedRotation1.frame_b.t.1.|fixedRotation1.frame_b.t.2.|fixedRotation1.frame_b.t.3.|fixedRotation2.frame_b.r_0.1.|fixedRotation2.frame_b.r_0.2.|fixedRotation2.frame_b.r_0.3.|fixedRotation2.frame_b.f.1.|fixedRotation2.frame_b.f.2.|fixedRotation2.frame_b.f.3.|fixedRotation2.frame_b.t.1.|fixedRotation2.frame_b.t.2.|fixedRotation2.frame_b.t.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 110.5 kB / 18.46 MB, free: 4.598 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.001196/0.001196, allocations: 187.2 kB / 19.38 MB, free: 3.68 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.417/1.417, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2142/0.2142, allocations: 44.17 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 471.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3577, allocations: 60.82 MB / 0.5196 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01894/0.3767, allocations: 17.01 MB / 0.5362 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01129/0.388, allocations: 3.924 MB / 0.54 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003997/0.3921, allocations: 98.44 kB / 0.5401 GB, free: 4.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005131/0.3972, allocations: 2.173 MB / 0.5422 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009233/0.4065, allocations: 2.602 MB / 0.5448 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002018/0.4086, allocations: 298.2 kB / 0.545 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01443/0.423, allocations: 6.548 MB / 0.5514 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007282/0.4304, allocations: 3.334 MB / 0.5547 GB, free: 7.965 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004637/0.4351, allocations: 2.117 MB / 0.5568 GB, free: 5.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004637/0.4398, allocations: 2.795 MB / 0.5595 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001618/0.4414, allocations: 392 kB / 0.5599 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002903/0.4443, allocations: 0.8076 MB / 0.5607 GB, free: 1.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003453/0.4478, allocations: 2.789 MB / 0.5634 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005947/0.4538, allocations: 3.345 MB / 0.5666 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.4675, allocations: 10.72 MB / 0.5771 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.4676, allocations: 0 / 0.5771 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4676, allocations: 3.938 kB / 0.5771 GB, free: 0.918 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004104/0.468, allocations: 0 / 0.5771 GB, free: 0.918 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01628/0.4843, allocations: 7.041 MB / 0.584 GB, free: 9.797 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.901e-05/0.4843, allocations: 8.031 kB / 0.584 GB, free: 9.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0212/0.5056, allocations: 5.863 MB / 0.5897 GB, free: 3.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008601/0.5142, allocations: 3.296 MB / 0.5929 GB, free: 0.543 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003453/0.5146, allocations: 328.3 kB / 0.5933 GB, free: 224 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002168/0.5168, allocations: 419.6 kB / 0.5937 GB, free: 15.81 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03708/0.5539, allocations: 18.89 MB / 0.6121 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001531/0.5541, allocations: 35.62 kB / 0.6121 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001544/0.5556, allocations: 199.7 kB / 0.6123 GB, free: 11.94 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0083/0.5639, allocations: 4.746 MB / 0.617 GB, free: 7.188 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03455/0.5985, allocations: 17.53 MB / 0.6341 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09609/0.6946, allocations: 60.84 MB / 0.6935 GB, free: 7.227 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01637/0.7111, allocations: 8.434 MB / 0.7017 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003795/0.7149, allocations: 2.579 MB / 0.7043 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3284/1.043, allocations: 11.86 MB / 0.7158 GB, free: 164.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.043, allocations: 60.27 kB / 0.7159 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.075e-06/1.043, allocations: 0 / 0.7159 GB, free: 164.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.02051/1.064, allocations: 7.511 MB / 0.7232 GB, free: 164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.064, allocations: 100.8 kB / 0.7233 GB, free: 163.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01043/1.074, allocations: 5.677 MB / 0.7289 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005811/1.075, allocations: 62.53 kB / 0.7289 GB, free: 162.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003011/1.078, allocations: 5.071 MB / 0.7339 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001324/1.079, allocations: 1.207 MB / 0.7351 GB, free: 157.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001925/1.081, allocations: 1.906 MB / 0.7369 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.018e-05/1.081, allocations: 304.9 kB / 0.7372 GB, free: 156.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004213/1.086, allocations: 3.211 MB / 0.7404 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005739/1.091, allocations: 8.652 MB / 0.7488 GB, free: 147 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/1.102, allocations: 12.91 MB / 0.7614 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/1.102, allocations: 56 kB / 0.7615 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.0159/1.118, allocations: 11.64 MB / 0.7728 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/1.118, allocations: 91.94 kB / 0.7729 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001576/1.118, allocations: 192.8 kB / 0.7731 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001795/1.118, allocations: 256 kB / 0.7733 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005511/1.124, allocations: 2.07 MB / 0.7754 GB, free: 123.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001854/1.124, allocations: 378.5 kB / 0.7757 GB, free: 122.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/1.13, allocations: 1.326 MB / 0.777 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009655/1.131, allocations: 0.5504 MB / 0.7776 GB, free: 121 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.004856/1.136, allocations: 3.701 MB / 0.7812 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006558/1.137, allocations: 489.4 kB / 0.7816 GB, free: 116.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/1.138, allocations: 0.645 MB / 0.7823 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/1.138, allocations: 18.58 kB / 0.7823 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.138, allocations: 0 / 0.7823 GB, free: 116.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009833/1.139, allocations: 0.538 MB / 0.7828 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005232/1.14, allocations: 39.84 kB / 0.7829 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.141, allocations: 119.8 kB / 0.783 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/1.141, allocations: 129.2 kB / 0.7831 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004578/1.146, allocations: 4.074 MB / 0.7871 GB, free: 111.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004008/1.15, allocations: 4.334 MB / 0.7913 GB, free: 106.9 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001611/1.151, allocations: 1.8 MB / 0.7931 GB, free: 105.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004287/1.156, allocations: 3.494 MB / 0.7965 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of Backend: time 3e-07/1.156, allocations: 0 / 0.7965 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009176/1.165, allocations: 5.828 MB / 0.8022 GB, free: 95.82 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02309/1.188, allocations: 14.79 MB / 0.8166 GB, free: 81 MB / 0.5606 GB Notification: Performance of Templates: time 0.09249/1.281, allocations: 59.27 MB / 0.8745 GB, free: 22.05 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches