Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.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.001858/0.001858, allocations: 110.4 kB / 21.19 MB, free: 0.6641 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.002446/0.002446, allocations: 205.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.465/1.465, allocations: 230.6 MB / 258.3 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 46.97 MB / 361.6 MB, free: 4.043 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.91 kB / 0.4973 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3267, allocations: 66.04 MB / 0.5618 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01682/0.3435, allocations: 13.5 MB / 0.575 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01068/0.3542, allocations: 4.734 MB / 0.5796 GB, free: 1.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002592/0.3568, allocations: 123.4 kB / 0.5798 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009262/0.3661, allocations: 4.86 MB / 0.5845 GB, free: 12.88 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006915/0.373, allocations: 2.56 MB / 0.587 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00259/0.3756, allocations: 1.069 MB / 0.588 GB, free: 9.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.3859, allocations: 6.867 MB / 0.5948 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006339/0.3922, allocations: 4.454 MB / 0.5991 GB, free: 13.83 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004147/0.3964, allocations: 2.422 MB / 0.6015 GB, free: 11.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005857/0.4022, allocations: 3.45 MB / 0.6048 GB, free: 7.938 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001543/0.4038, allocations: 0.5 MB / 0.6053 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003144/0.4069, allocations: 1.303 MB / 0.6066 GB, free: 6.133 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003491/0.4104, allocations: 3.054 MB / 0.6096 GB, free: 3.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004166/0.4146, allocations: 2.493 MB / 0.612 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01524/0.4298, allocations: 10.43 MB / 0.6222 GB, free: 6.086 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.4298, allocations: 0 / 0.6222 GB, free: 6.086 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4298, allocations: 4 kB / 0.6222 GB, free: 6.082 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004025/0.4302, allocations: 0 / 0.6222 GB, free: 6.082 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.02163/0.4519, allocations: 7.508 MB / 0.6295 GB, free: 14.5 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.4519, allocations: 8.031 kB / 0.6295 GB, free: 14.49 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.4649, allocations: 2.75 MB / 0.6322 GB, free: 11.73 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4761, allocations: 4.203 MB / 0.6363 GB, free: 7.449 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003349/0.4765, allocations: 359.8 kB / 0.6367 GB, free: 7.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.4779, allocations: 479.7 kB / 0.6371 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02848/0.5063, allocations: 14.3 MB / 0.6511 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000282/0.5066, allocations: 71.41 kB / 0.6512 GB, free: 7.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009001/0.5075, allocations: 231.8 kB / 0.6514 GB, free: 6.996 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005505/0.513, allocations: 2.699 MB / 0.654 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/0.5389, allocations: 12 MB / 0.6657 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08215/0.621, allocations: 53.77 MB / 0.7183 GB, free: 1.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01618/0.6372, allocations: 5.588 MB / 0.7237 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0054/0.6426, allocations: 3.422 MB / 0.7271 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.6597, allocations: 7.234 MB / 0.7341 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.188e-05/0.6597, allocations: 64.16 kB / 0.7342 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=236): time 6.753e-06/0.6597, allocations: 0 / 0.7342 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of matching and sorting (n=278): time 0.3897/1.049, allocations: 30.42 MB / 0.7639 GB, free: 139 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/1.05, allocations: 239.6 kB / 0.7641 GB, free: 138.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007396/1.057, allocations: 5.599 MB / 0.7696 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007865/1.058, allocations: 65.7 kB / 0.7696 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002316/1.06, allocations: 4.632 MB / 0.7742 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001272/1.061, allocations: 1.116 MB / 0.7753 GB, free: 128 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002292/1.064, allocations: 1.805 MB / 0.777 GB, free: 126.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.967e-05/1.064, allocations: 305.1 kB / 0.7773 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004355/1.068, allocations: 3.577 MB / 0.7808 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008141/1.076, allocations: 8.688 MB / 0.7893 GB, free: 111.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/1.088, allocations: 13.13 MB / 0.8021 GB, free: 95.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/1.088, allocations: 48 kB / 0.8022 GB, free: 95.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.02683/1.115, allocations: 13.91 MB / 0.8157 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002818/1.115, allocations: 82.34 kB / 0.8158 GB, free: 81.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003266/1.116, allocations: 180.8 kB / 0.816 GB, free: 81.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005954/1.122, allocations: 2.276 MB / 0.8182 GB, free: 78.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006722/1.128, allocations: 2.004 MB / 0.8202 GB, free: 76.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01575/1.144, allocations: 13.95 MB / 0.8338 GB, free: 62.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007197/1.151, allocations: 0.5065 MB / 0.8343 GB, free: 62.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.153, allocations: 0.5156 MB / 0.8348 GB, free: 61.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 808 * Number of states: 0 () * Number of discrete variables: 67 (torque2.torqueArrow.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1051 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005832/1.159, allocations: 2.978 MB / 0.8377 GB, free: 58.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001478/1.16, allocations: 496.7 kB / 0.8382 GB, free: 58.32 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/1.173, allocations: 6.968 MB / 0.845 GB, free: 51.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.01e-05/1.173, allocations: 11.95 kB / 0.845 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.028e-05/1.173, allocations: 3.938 kB / 0.845 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/1.175, allocations: 448.5 kB / 0.8454 GB, free: 50.87 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001446/1.176, allocations: 47.83 kB / 0.8455 GB, free: 50.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003023/1.179, allocations: 198.5 kB / 0.8457 GB, free: 50.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006522/1.18, allocations: 193.6 kB / 0.8458 GB, free: 50.45 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01262/1.192, allocations: 7.4 MB / 0.8531 GB, free: 43.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01003/1.202, allocations: 9.152 MB / 0.862 GB, free: 33.86 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002485/1.205, allocations: 2.298 MB / 0.8642 GB, free: 31.57 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004791/1.21, allocations: 3.265 MB / 0.8674 GB, free: 28.32 MB / 0.5606 GB Notification: Performance of Backend: time 2.61e-07/1.21, allocations: 4 kB / 0.8674 GB, free: 28.31 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01284/1.222, allocations: 6.365 MB / 0.8737 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of SimCode: time 0.02346/1.246, allocations: 13.92 MB / 0.8873 GB, free: 8 MB / 0.5606 GB Notification: Performance of Templates: time 0.1434/1.389, allocations: 77.53 MB / 0.963 GB, free: 11.16 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Torque.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: 8.365844410000136]