Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001467/0.001467, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001585/0.001585, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.568/1.568, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.2516/0.2516, allocations: 46.92 MB / 357.1 MB, free: 10.39 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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00231/0.00231, allocations: 63.91 kB / 0.4914 GB, free: 7.504 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1459/0.1482, allocations: 66 MB / 0.5559 GB, free: 5.379 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01632/0.1645, allocations: 12.72 MB / 0.5683 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.1762, allocations: 4.524 MB / 0.5727 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.1788, allocations: 103.4 kB / 0.5728 GB, free: 3.953 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007794/0.1866, allocations: 3.754 MB / 0.5765 GB, free: 192 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007366/0.1939, allocations: 2.237 MB / 0.5787 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002968/0.1969, allocations: 1.006 MB / 0.5796 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01076/0.2077, allocations: 6.05 MB / 0.5855 GB, free: 6.871 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005603/0.2133, allocations: 3.804 MB / 0.5893 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.2174, allocations: 1.982 MB / 0.5912 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.3271/0.5445, allocations: 2.822 MB / 0.5939 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001777/0.5462, allocations: 409.2 kB / 0.5943 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003701/0.5499, allocations: 1.482 MB / 0.5958 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004427/0.5544, allocations: 2.496 MB / 0.5982 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006641/0.561, allocations: 2.708 MB / 0.6009 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0161/0.5771, allocations: 8.655 MB / 0.6093 GB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.5771, allocations: 0 / 0.6093 GB, free: 8.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5771, allocations: 0 / 0.6093 GB, free: 8.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0005215/0.5776, allocations: 1.094 kB / 0.6093 GB, free: 8.16 MB / 446.1 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.02729/0.6049, allocations: 6.168 MB / 0.6153 GB, free: 5.293 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.627e-05/0.605, allocations: 9.031 kB / 0.6154 GB, free: 5.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.6194, allocations: 2.579 MB / 0.6179 GB, free: 4.816 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009663/0.629, allocations: 3.761 MB / 0.6215 GB, free: 2.969 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002349/0.6293, allocations: 275.5 kB / 0.6218 GB, free: 2.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.6311, allocations: 386 kB / 0.6222 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02582/0.6569, allocations: 11.61 MB / 0.6335 GB, free: 11.73 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/0.6571, allocations: 64.48 kB / 0.6336 GB, free: 11.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000776/0.6579, allocations: 178.2 kB / 0.6337 GB, free: 11.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003642/0.6615, allocations: 2.152 MB / 0.6358 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/0.685, allocations: 9.622 MB / 0.6452 GB, free: 2.406 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07101/0.756, allocations: 45.86 MB / 0.69 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/0.7677, allocations: 3.79 MB / 0.6937 GB, free: 0 / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003433/0.7711, allocations: 1.989 MB / 0.6957 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01252/0.7836, allocations: 5.892 MB / 0.7014 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.7837, allocations: 55.23 kB / 0.7015 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.729e-06/0.7837, allocations: 0 / 0.7015 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.05511/0.8388, allocations: 17.68 MB / 0.7187 GB, free: 6.195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001754/0.839, allocations: 225.5 kB / 0.719 GB, free: 5.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01187/0.8509, allocations: 5.632 MB / 0.7245 GB, free: 320 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005373/0.8514, allocations: 49.7 kB / 0.7245 GB, free: 264 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003933/0.8553, allocations: 3.852 MB / 0.7283 GB, free: 12.43 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001342/0.8567, allocations: 0.6875 MB / 0.7289 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002587/0.8593, allocations: 1.424 MB / 0.7303 GB, free: 10.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.8594, allocations: 301.1 kB / 0.7306 GB, free: 10.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004049/0.8634, allocations: 2.285 MB / 0.7328 GB, free: 7.738 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008437/0.8719, allocations: 6.558 MB / 0.7392 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0142/0.8861, allocations: 9.509 MB / 0.7485 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001399/0.8862, allocations: 40 kB / 0.7486 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02364/0.9099, allocations: 9.598 MB / 0.7579 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/0.91, allocations: 72.12 kB / 0.758 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002243/0.9102, allocations: 156 kB / 0.7582 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003696/0.9139, allocations: 1.226 MB / 0.7594 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/0.9201, allocations: 1.56 MB / 0.7609 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.9321, allocations: 8.476 MB / 0.7692 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00731/0.9394, allocations: 363.7 kB / 0.7695 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/0.941, allocations: 424 kB / 0.7699 GB, free: 13.96 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * 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 (836): * Single equations (assignments): 829 * 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,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005782/0.9468, allocations: 2.469 MB / 0.7723 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001189/0.948, allocations: 484.7 kB / 0.7728 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007523/0.9555, allocations: 3.372 MB / 0.7761 GB, free: 7.621 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.547e-05/0.9555, allocations: 23.94 kB / 0.7761 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/0.9555, allocations: 4 kB / 0.7761 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.9556, allocations: 7.984 kB / 0.7761 GB, free: 7.586 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02018/0.9758, allocations: 8.182 MB / 0.7841 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.9758, allocations: 8.281 kB / 0.7841 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.9771, allocations: 259.5 kB / 0.7844 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003053/0.9802, allocations: 0.9963 MB / 0.7853 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001962/0.9804, allocations: 32 kB / 0.7854 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.9914, allocations: 7.804 MB / 0.793 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.9914, allocations: 4 kB / 0.793 GB, free: 5.965 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/1.002, allocations: 5.872 MB / 0.7987 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/1.004, allocations: 0.5407 MB / 0.7992 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/1.005, allocations: 28.11 kB / 0.7993 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001654/1.006, allocations: 98.31 kB / 0.7994 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003168/1.007, allocations: 100.8 kB / 0.7995 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.007, allocations: 44 kB / 0.7995 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.006837/1.014, allocations: 3.592 MB / 0.803 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/1.014, allocations: 0 / 0.803 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.007273/1.021, allocations: 1.152 MB / 0.8041 GB, free: 10.49 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005149/1.021, allocations: 155.4 kB / 0.8043 GB, free: 10.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.009747/1.031, allocations: 5.347 MB / 0.8095 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.031, allocations: 4.125 kB / 0.8095 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00254/1.034, allocations: 1.525 MB / 0.811 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004194/1.038, allocations: 0.6105 MB / 0.8116 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/1.061, allocations: 10.92 MB / 0.8223 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00572/1.067, allocations: 3.773 MB / 0.8259 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.005507/1.072, allocations: 2.112 MB / 0.828 GB, free: 1.934 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001062/1.073, allocations: 295.3 kB / 0.8283 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of SimCode: time 1.172e-06/1.073, allocations: 0 / 0.8283 GB, free: 1.645 MB / 0.6387 GB Notification: Performance of Templates: time 0.3887/1.462, allocations: 41.31 MB / 0.8686 GB, free: 199.6 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.FrameTorques.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.100832365453243]