Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 109.2 kB / 20.45 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001625/0.001625, allocations: 221.1 kB / 23.76 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 207.6 MB / 234.5 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.202/0.202, allocations: 44.25 MB / 331 MB, free: 9.527 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") translateModel(ModelicaTest.MultiBody.Sensors.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00222/0.00222, allocations: 78.84 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1088, allocations: 61.03 MB / 0.5174 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01282/0.1216, allocations: 11.11 MB / 0.5282 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006413/0.128, allocations: 3.096 MB / 0.5312 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.1295, allocations: 59.81 kB / 0.5313 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003932/0.1334, allocations: 2.048 MB / 0.5333 GB, free: 6.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.1364, allocations: 1.245 MB / 0.5345 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.1371, allocations: 299.5 kB / 0.5348 GB, free: 4.914 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003455/0.1406, allocations: 2.497 MB / 0.5372 GB, free: 2.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002633/0.1432, allocations: 1.84 MB / 0.539 GB, free: 0.5234 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2103/0.3535, allocations: 0.97 MB / 0.54 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00207/0.3556, allocations: 1.409 MB / 0.5414 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004467/0.356, allocations: 221.1 kB / 0.5416 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/0.3573, allocations: 0.734 MB / 0.5423 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001181/0.3585, allocations: 1.275 MB / 0.5435 GB, free: 11.67 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.3597, allocations: 1.473 MB / 0.545 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.3651, allocations: 4.86 MB / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.3651, allocations: 0 / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3651, allocations: 1.062 kB / 0.5497 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001344/0.3653, allocations: 0 / 0.5497 GB, free: 10.38 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: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.005885/0.3712, allocations: 3.155 MB / 0.5528 GB, free: 8.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3712, allocations: 9.656 kB / 0.5528 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005442/0.3766, allocations: 1.639 MB / 0.5544 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3795, allocations: 1.369 MB / 0.5557 GB, free: 8.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3796, allocations: 160.3 kB / 0.5559 GB, free: 8.215 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003643/0.38, allocations: 201.2 kB / 0.5561 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3906, allocations: 6.984 MB / 0.5629 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.367e-05/0.3906, allocations: 14.88 kB / 0.5629 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/0.3909, allocations: 94.2 kB / 0.563 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/0.393, allocations: 1.531 MB / 0.5645 GB, free: 5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.4045, allocations: 5.945 MB / 0.5703 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0314/0.4359, allocations: 22.04 MB / 0.5918 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004116/0.4401, allocations: 1.661 MB / 0.5935 GB, free: 1.309 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/0.4412, allocations: 0.7457 MB / 0.5942 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0071/0.4483, allocations: 3.489 MB / 0.5976 GB, free: 13.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.4483, allocations: 39.22 kB / 0.5976 GB, free: 13.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.156e-06/0.4483, allocations: 0 / 0.5976 GB, free: 13.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=96): time 0.005564/0.4539, allocations: 2.271 MB / 0.5998 GB, free: 10.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.4539, allocations: 60.06 kB / 0.5999 GB, free: 10.69 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002986/0.4569, allocations: 2.069 MB / 0.6019 GB, free: 8.574 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.098e-05/0.4569, allocations: 36.84 kB / 0.602 GB, free: 8.535 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/0.4584, allocations: 2.097 MB / 0.604 GB, free: 6.441 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.4588, allocations: 390 kB / 0.6044 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008504/0.4596, allocations: 0.6773 MB / 0.605 GB, free: 5.383 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4598, allocations: 359.1 kB / 0.6054 GB, free: 5.027 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.4612, allocations: 0.998 MB / 0.6064 GB, free: 4.027 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00299/0.4642, allocations: 2.992 MB / 0.6093 GB, free: 80 kB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004767/0.469, allocations: 4.358 MB / 0.6135 GB, free: 11.03 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-05/0.469, allocations: 27.12 kB / 0.6136 GB, free: 11.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.005676/0.4747, allocations: 3.894 MB / 0.6174 GB, free: 7.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.4748, allocations: 37 kB / 0.6174 GB, free: 7.465 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.874e-05/0.4748, allocations: 71.31 kB / 0.6175 GB, free: 7.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001003/0.4749, allocations: 100 kB / 0.6176 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002012/0.4769, allocations: 0.7213 MB / 0.6183 GB, free: 6.578 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001183/0.4771, allocations: 147.4 kB / 0.6184 GB, free: 6.434 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.4791, allocations: 463.9 kB / 0.6188 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002636/0.4794, allocations: 204 kB / 0.619 GB, free: 5.781 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 396 * Array equations: 5 * 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.002555/0.482, allocations: 1.465 MB / 0.6205 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002637/0.4822, allocations: 182.8 kB / 0.6206 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.4842, allocations: 1.243 MB / 0.6219 GB, free: 2.867 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/0.4843, allocations: 12 kB / 0.6219 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.4843, allocations: 0 / 0.6219 GB, free: 2.855 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.066e-06/0.4843, allocations: 7.984 kB / 0.6219 GB, free: 2.848 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00863/0.4929, allocations: 5.006 MB / 0.6268 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.281e-05/0.4929, allocations: 8 kB / 0.6268 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005535/0.4935, allocations: 143.7 kB / 0.6269 GB, free: 13.52 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/0.4935, allocations: 12 kB / 0.6269 GB, free: 13.5 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/0.4935, allocations: 27.98 kB / 0.6269 GB, free: 13.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/0.4936, allocations: 19.94 kB / 0.627 GB, free: 13.46 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.4936, allocations: 11.94 kB / 0.627 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002015/0.4956, allocations: 1.602 MB / 0.6285 GB, free: 11.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.496, allocations: 206 kB / 0.6287 GB, free: 11.5 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.4962, allocations: 24 kB / 0.6288 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/0.4968, allocations: 43.97 kB / 0.6288 GB, free: 11.43 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4969, allocations: 82.05 kB / 0.6289 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.335e-05/0.497, allocations: 42.33 kB / 0.6289 GB, free: 11.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.4989, allocations: 1.344 MB / 0.6302 GB, free: 9.949 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4989, allocations: 0 / 0.6302 GB, free: 9.949 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002857/0.5018, allocations: 0.7786 MB / 0.631 GB, free: 9.168 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * Array equations: 3 * 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.0003094/0.5021, allocations: 162 kB / 0.6312 GB, free: 9.004 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003393/0.5055, allocations: 2.207 MB / 0.6333 GB, free: 6.812 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.5055, allocations: 7.844 kB / 0.6333 GB, free: 6.809 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.5062, allocations: 0.5337 MB / 0.6338 GB, free: 6.277 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001205/0.5074, allocations: 260.6 kB / 0.6341 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01062/0.5181, allocations: 6.158 MB / 0.6401 GB, free: 15.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002774/0.5208, allocations: 2.469 MB / 0.6425 GB, free: 13.22 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005444/0.5214, allocations: 155.4 kB / 0.6427 GB, free: 13.07 MB / 494.1 MB Notification: Performance of SimCode: time 1.282e-06/0.5214, allocations: 7.938 kB / 0.6427 GB, free: 13.06 MB / 494.1 MB Notification: Performance of Templates: time 0.05359/0.575, allocations: 33.85 MB / 0.6757 GB, free: 11.23 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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: 9.40188050805591]