Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001179/0.001179, allocations: 82.64 kB / 21.44 MB, free: 3.059 MB / 18.57 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.001228/0.001228, allocations: 169.6 kB / 24.84 MB, free: 8.926 MB / 18.57 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 0.9926/0.9926, allocations: 158.6 MB / 186.7 MB, free: 2.762 MB / 170.7 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.1518/0.1518, allocations: 32.37 MB / 271.5 MB, free: 14.52 MB / 266.7 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.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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Torque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.006e-06/3.006e-06, allocations: 4 kB / 349 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.323e-05/4.624e-05, allocations: 2.312 kB / 349 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01232/0.01236, allocations: 16.08 MB / 365 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01117/0.02353, allocations: 5.011 MB / 370 MB, free: 3.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003565/0.0271, allocations: 127.4 kB / 370.2 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006209/0.03331, allocations: 5.369 MB / 375.5 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.04059, allocations: 2.915 MB / 378.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002304/0.04289, allocations: 1.189 MB / 379.6 MB, free: 10.31 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.009541/0.05243, allocations: 7.545 MB / 387.2 MB, free: 2.75 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006082/0.05852, allocations: 5.354 MB / 392.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007879/0.0664, allocations: 4.604 MB / 397.1 MB, free: 8.707 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006231/0.07263, allocations: 3.717 MB / 400.9 MB, free: 4.98 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001916/0.07454, allocations: 0.5547 MB / 401.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.07743, allocations: 1.408 MB / 402.8 MB, free: 3.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002794/0.08023, allocations: 3.475 MB / 406.3 MB, free: 15.53 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00301/0.08324, allocations: 2.154 MB / 408.5 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008498/0.09173, allocations: 7.298 MB / 415.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.09174, allocations: 0 / 415.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.09174, allocations: 0 / 415.8 MB, free: 6.047 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000277/0.09202, allocations: 4 kB / 415.8 MB, free: 6.043 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01138/0.1034, allocations: 8.272 MB / 424 MB, free: 13.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.1034, allocations: 16.03 kB / 424 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007223/0.1107, allocations: 2.548 MB / 426.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006664/0.1173, allocations: 3.44 MB / 430 MB, free: 7.582 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003269/0.1177, allocations: 394.2 kB / 430.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.119, allocations: 0.5117 MB / 430.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01603/0.135, allocations: 8.533 MB / 439.5 MB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002225/0.1352, allocations: 71.38 kB / 439.5 MB, free: 12.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006289/0.1358, allocations: 243.8 kB / 439.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/0.1383, allocations: 2.669 MB / 442.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009996/0.1483, allocations: 3.772 MB / 446.2 MB, free: 5.895 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2169/0.3652, allocations: 65.77 MB / 0.5 GB, free: 40.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008012/0.3732, allocations: 2.494 MB / 0.5024 GB, free: 40.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.3745, allocations: 0.7118 MB / 0.5031 GB, free: 40.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008961/0.3835, allocations: 5.374 MB / 0.5084 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3835, allocations: 62.45 kB / 0.5084 GB, free: 35.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=209): time 5.019e-06/0.3835, allocations: 0 / 0.5084 GB, free: 35.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=218): time 0.0241/0.4076, allocations: 9.256 MB / 0.5175 GB, free: 26.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.4077, allocations: 230.8 kB / 0.5177 GB, free: 26.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005217/0.4129, allocations: 5.551 MB / 0.5231 GB, free: 21.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004515/0.4133, allocations: 53.7 kB / 0.5232 GB, free: 21.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002286/0.4156, allocations: 5.447 MB / 0.5285 GB, free: 15.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.4169, allocations: 0.9501 MB / 0.5294 GB, free: 14.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001759/0.4186, allocations: 2.024 MB / 0.5314 GB, free: 12.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/0.4187, allocations: 488.7 kB / 0.5318 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001418/0.4201, allocations: 0.8844 MB / 0.5327 GB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004122/0.4242, allocations: 9.376 MB / 0.5419 GB, free: 14.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009721/0.4339, allocations: 11.17 MB / 0.5528 GB, free: 15.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002032/0.4341, allocations: 56 kB / 0.5528 GB, free: 15.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=1193) (initialization): time 0.01317/0.4473, allocations: 7.56 MB / 0.5602 GB, free: 7.918 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.176e-05/0.4474, allocations: 94.56 kB / 0.5603 GB, free: 7.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001866/0.4476, allocations: 204 kB / 0.5605 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001598/0.4492, allocations: 0.6242 MB / 0.5611 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00444/0.4536, allocations: 2.047 MB / 0.5631 GB, free: 4.949 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/0.4582, allocations: 5.381 MB / 0.5684 GB, free: 15.35 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005779/0.464, allocations: 403.7 kB / 0.5687 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001382/0.4654, allocations: 484 kB / 0.5692 GB, free: 14.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 914 * Number of states: 0 () * Number of discrete variables: 63 (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 (1141): * Single equations (assignments): 1134 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002543/0.4679, allocations: 0.9136 MB / 0.5701 GB, free: 13.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001256/0.4692, allocations: 0.563 MB / 0.5707 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/0.472, allocations: 1.726 MB / 0.5723 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.472, allocations: 24 kB / 0.5724 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/0.472, allocations: 4 kB / 0.5724 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-05/0.472, allocations: 7.969 kB / 0.5724 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.4846, allocations: 7.436 MB / 0.5796 GB, free: 3.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.4847, allocations: 8 kB / 0.5796 GB, free: 3.582 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/0.4856, allocations: 307.5 kB / 0.5799 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001253/0.4868, allocations: 371.3 kB / 0.5803 GB, free: 2.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001382/0.487, allocations: 48 kB / 0.5803 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003771/0.4907, allocations: 4.973 MB / 0.5852 GB, free: 13.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4907, allocations: 11.94 kB / 0.5852 GB, free: 13.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004542/0.4953, allocations: 3.174 MB / 0.5883 GB, free: 10.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/0.4969, allocations: 0.6798 MB / 0.589 GB, free: 9.641 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004767/0.4974, allocations: 44 kB / 0.589 GB, free: 9.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.4985, allocations: 47.98 kB / 0.5891 GB, free: 9.551 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/0.4988, allocations: 156.8 kB / 0.5892 GB, free: 9.398 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.139e-05/0.4989, allocations: 48 kB / 0.5892 GB, free: 9.352 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00293/0.5018, allocations: 2.222 MB / 0.5914 GB, free: 7.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5018, allocations: 0 / 0.5914 GB, free: 7.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007237/0.509, allocations: 1.64 MB / 0.593 GB, free: 5.516 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * 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 (184): * Single equations (assignments): 179 * Array equations: 3 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006263/0.5097, allocations: 202.7 kB / 0.5932 GB, free: 5.309 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007541/0.5172, allocations: 4.252 MB / 0.5974 GB, free: 1.059 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.5172, allocations: 5.875 kB / 0.5974 GB, free: 1.055 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/0.519, allocations: 1.077 MB / 0.5984 GB, free: 15.94 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/0.523, allocations: 0.6126 MB / 0.599 GB, free: 15.34 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02064/0.5437, allocations: 11.94 MB / 0.6107 GB, free: 3.176 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003289/0.547, allocations: 1.961 MB / 0.6126 GB, free: 1.191 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003133/0.5501, allocations: 0.734 MB / 0.6133 GB, free: 464 kB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.14/0.6901, allocations: 0.8296 MB / 0.6141 GB, free: 152.3 MB / 458.7 MB Notification: Performance of SimCode: time 2.064e-06/0.6901, allocations: 0 / 0.6141 GB, free: 152.3 MB / 458.7 MB Notification: Performance of Templates: time 0.07244/0.7625, allocations: 49.73 MB / 0.6627 GB, free: 120.1 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.224267338868231]