Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.00106/0.00106, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001179/0.001179, allocations: 168.8 kB / 24.82 MB, free: 9.273 MB / 18.57 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2621/0.2621, allocations: 32.81 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] 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.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 376.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.406e-05, allocations: 2.312 kB / 376.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.009392/0.009416, allocations: 11.98 MB / 388.5 MB, free: 8.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006254/0.01567, allocations: 4.395 MB / 392.9 MB, free: 3.949 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007855/0.01646, allocations: 99.5 kB / 393 MB, free: 3.852 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003451/0.01991, allocations: 3.929 MB / 396.9 MB, free: 15.91 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002856/0.02276, allocations: 2.321 MB / 399.2 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.02406, allocations: 1.123 MB / 400.3 MB, free: 12.45 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005254/0.02931, allocations: 6.812 MB / 407.1 MB, free: 5.625 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003051/0.03236, allocations: 4.154 MB / 411.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.03546, allocations: 3.989 MB / 415.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002204/0.03767, allocations: 2.927 MB / 418.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003856/0.03805, allocations: 420 kB / 418.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.03954, allocations: 1.392 MB / 420 MB, free: 8.664 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001388/0.04092, allocations: 2.614 MB / 422.6 MB, free: 6.043 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001107/0.04203, allocations: 1.604 MB / 424.2 MB, free: 4.434 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00429/0.04632, allocations: 5.691 MB / 429.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.04633, allocations: 0 / 429.9 MB, free: 14.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.04633, allocations: 8 kB / 429.9 MB, free: 14.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.941e-05/0.0464, allocations: 3.938 kB / 429.9 MB, free: 14.71 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.006411/0.05281, allocations: 6.307 MB / 436.2 MB, free: 8.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.05285, allocations: 8.031 kB / 436.3 MB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004832/0.05768, allocations: 2.112 MB / 438.4 MB, free: 6.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0031/0.06078, allocations: 2.78 MB / 441.1 MB, free: 3.379 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.06093, allocations: 279.5 kB / 441.4 MB, free: 3.105 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004086/0.06133, allocations: 388.1 kB / 441.8 MB, free: 2.727 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1799/0.2413, allocations: 6.497 MB / 448.3 MB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002298/0.2415, allocations: 55.5 kB / 448.3 MB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/0.242, allocations: 179.8 kB / 448.5 MB, free: 76.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001769/0.2438, allocations: 1.885 MB / 450.4 MB, free: 76.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006859/0.2506, allocations: 2.815 MB / 453.2 MB, free: 76.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03013/0.2807, allocations: 51.31 MB / 0.4927 GB, free: 36.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003692/0.2844, allocations: 1.758 MB / 0.4944 GB, free: 36.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004192/0.2849, allocations: 424.6 kB / 0.4948 GB, free: 36.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004337/0.2892, allocations: 4.202 MB / 0.4989 GB, free: 34.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.2892, allocations: 47.39 kB / 0.499 GB, free: 34.32 MB / 410.7 MB Notification: Performance of pre-optimization done (n=118): time 4.208e-06/0.2892, allocations: 0 / 0.499 GB, free: 34.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.0119/0.3011, allocations: 4.611 MB / 0.5035 GB, free: 33.17 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.583e-05/0.3012, allocations: 224.7 kB / 0.5037 GB, free: 32.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005455/0.3066, allocations: 4.514 MB / 0.5081 GB, free: 31.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002142/0.3069, allocations: 45.7 kB / 0.5081 GB, free: 31.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002673/0.3095, allocations: 4.219 MB / 0.5123 GB, free: 28.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007197/0.3102, allocations: 0.567 MB / 0.5128 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001382/0.3116, allocations: 1.555 MB / 0.5143 GB, free: 27.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.077e-05/0.3117, allocations: 476.8 kB / 0.5148 GB, free: 27.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009501/0.3126, allocations: 0.5534 MB / 0.5153 GB, free: 27.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/0.3151, allocations: 7.373 MB / 0.5225 GB, free: 18.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004186/0.3193, allocations: 8.633 MB / 0.531 GB, free: 8.453 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.23e-05/0.3194, allocations: 47.75 kB / 0.531 GB, free: 8.453 MB / 410.7 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.006094/0.3255, allocations: 5.482 MB / 0.5364 GB, free: 6.332 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.684e-05/0.3256, allocations: 73.7 kB / 0.5364 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.3257, allocations: 162.6 kB / 0.5366 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004326/0.3261, allocations: 281.2 kB / 0.5369 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.3285, allocations: 1.547 MB / 0.5384 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.3297, allocations: 3.764 MB / 0.542 GB, free: 1.617 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.333, allocations: 313 kB / 0.5423 GB, free: 1.312 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004371/0.3334, allocations: 378.5 kB / 0.5427 GB, free: 0.9453 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 736 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (860): * Single equations (assignments): 853 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001445/0.3349, allocations: 0.744 MB / 0.5434 GB, free: 196 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007924/0.3356, allocations: 429.5 kB / 0.5438 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009539/0.3366, allocations: 0.7084 MB / 0.5445 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.758e-05/0.3366, allocations: 16 kB / 0.5445 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.3366, allocations: 8.625 kB / 0.5446 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.3366, allocations: 6.422 kB / 0.5446 GB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007198/0.3438, allocations: 4.692 MB / 0.5491 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/0.3438, allocations: 8 kB / 0.5492 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004642/0.3443, allocations: 164.6 kB / 0.5493 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.3446, allocations: 81.95 kB / 0.5494 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.049e-05/0.3446, allocations: 24 kB / 0.5494 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.346, allocations: 3.475 MB / 0.5528 GB, free: 7.762 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.346, allocations: 4 kB / 0.5528 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3479, allocations: 1.958 MB / 0.5547 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006284/0.3486, allocations: 392.1 kB / 0.5551 GB, free: 5.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.3488, allocations: 26.97 kB / 0.5551 GB, free: 5.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006353/0.3494, allocations: 27.94 kB / 0.5551 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.777e-05/0.3495, allocations: 82.23 kB / 0.5552 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.3496, allocations: 32 kB / 0.5553 GB, free: 5.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001639/0.3512, allocations: 1.821 MB / 0.557 GB, free: 3.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3512, allocations: 3.938 kB / 0.557 GB, free: 3.992 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003612/0.3548, allocations: 1.094 MB / 0.5581 GB, free: 2.895 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (97): * Single equations (assignments): 92 * 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 {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002788/0.3551, allocations: 178.7 kB / 0.5583 GB, free: 2.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003483/0.3586, allocations: 3.013 MB / 0.5612 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.3586, allocations: 0 / 0.5612 GB, free: 112 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005835/0.3592, allocations: 0.6601 MB / 0.5619 GB, free: 15.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.3609, allocations: 0.5236 MB / 0.5624 GB, free: 15.06 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01059/0.3715, allocations: 8.613 MB / 0.5708 GB, free: 6.961 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.3728, allocations: 1.454 MB / 0.5722 GB, free: 5.676 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001485/0.3743, allocations: 0.5696 MB / 0.5728 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008914/0.3752, allocations: 0.6504 MB / 0.5734 GB, free: 4.453 MB / 442.7 MB Notification: Performance of SimCode: time 1.763e-06/0.3752, allocations: 0 / 0.5734 GB, free: 4.453 MB / 442.7 MB Notification: Performance of Templates: time 0.05119/0.4264, allocations: 30.52 MB / 0.6032 GB, free: 6.406 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.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: 4.547556436620653]