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.001289/0.001289, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00164/0.00164, allocations: 211.4 kB / 24.48 MB, free: 3.977 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.443/1.443, allocations: 230.6 MB / 258.2 MB, free: 7.797 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.2488/0.2488, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 179] 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.001991/0.001991, allocations: 63.91 kB / 0.4973 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3533, allocations: 66.03 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01394/0.3672, allocations: 11.09 MB / 0.5727 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01081/0.378, allocations: 4.298 MB / 0.5768 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002269/0.3803, allocations: 99.5 kB / 0.5769 GB, free: 4.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007022/0.3873, allocations: 3.61 MB / 0.5805 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005931/0.3933, allocations: 2.265 MB / 0.5827 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002354/0.3956, allocations: 0.9904 MB / 0.5836 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009069/0.4047, allocations: 6.054 MB / 0.5896 GB, free: 7.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004988/0.4097, allocations: 3.521 MB / 0.593 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.4132, allocations: 1.994 MB / 0.5949 GB, free: 2.066 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004992/0.4182, allocations: 2.827 MB / 0.5977 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00135/0.4195, allocations: 408 kB / 0.5981 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.4227, allocations: 1.354 MB / 0.5994 GB, free: 13.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002809/0.4255, allocations: 2.489 MB / 0.6018 GB, free: 10.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002863/0.4284, allocations: 2.019 MB / 0.6038 GB, free: 8.949 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.4396, allocations: 8.697 MB / 0.6123 GB, free: 224 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4396, allocations: 0 / 0.6123 GB, free: 224 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4396, allocations: 0 / 0.6123 GB, free: 224 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002708/0.4399, allocations: 0 / 0.6123 GB, free: 224 kB / 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.01402/0.4539, allocations: 6.088 MB / 0.6183 GB, free: 10.06 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4539, allocations: 8.031 kB / 0.6183 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.4652, allocations: 2.575 MB / 0.6208 GB, free: 7.473 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009442/0.4747, allocations: 3.688 MB / 0.6244 GB, free: 3.734 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002894/0.4749, allocations: 275.5 kB / 0.6246 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00134/0.4763, allocations: 383.7 kB / 0.625 GB, free: 3.09 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02128/0.4976, allocations: 11.66 MB / 0.6364 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001642/0.4977, allocations: 59.53 kB / 0.6364 GB, free: 6.512 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004727/0.4982, allocations: 179.8 kB / 0.6366 GB, free: 6.336 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003816/0.502, allocations: 2.15 MB / 0.6387 GB, free: 4.184 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02314/0.5251, allocations: 9.602 MB / 0.6481 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06058/0.5857, allocations: 42.9 MB / 0.69 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01004/0.5958, allocations: 3.342 MB / 0.6933 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.5987, allocations: 1.975 MB / 0.6952 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01099/0.6097, allocations: 5.003 MB / 0.7001 GB, free: 3.988 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.6098, allocations: 55.92 kB / 0.7001 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 5.38e-06/0.6098, allocations: 0 / 0.7001 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04676/0.6565, allocations: 17.41 MB / 0.7171 GB, free: 2.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.6567, allocations: 226.3 kB / 0.7173 GB, free: 2.141 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007394/0.6641, allocations: 4.807 MB / 0.722 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004417/0.6645, allocations: 45.7 kB / 0.7221 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003432/0.668, allocations: 3.902 MB / 0.7259 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.6692, allocations: 0.6786 MB / 0.7265 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002083/0.6712, allocations: 1.424 MB / 0.7279 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.6714, allocations: 301.1 kB / 0.7282 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003642/0.675, allocations: 2.289 MB / 0.7305 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2925/0.9675, allocations: 6.6 MB / 0.7369 GB, free: 148.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/0.978, allocations: 9.522 MB / 0.7462 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003155/0.9783, allocations: 42.03 kB / 0.7462 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01627/0.9946, allocations: 9.509 MB / 0.7555 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.9947, allocations: 72.03 kB / 0.7556 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002226/0.9949, allocations: 150.2 kB / 0.7557 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002957/0.9979, allocations: 1.229 MB / 0.7569 GB, free: 137.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.002, allocations: 1.561 MB / 0.7585 GB, free: 136 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007611/1.01, allocations: 8.125 MB / 0.7664 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00501/1.015, allocations: 376.1 kB / 0.7668 GB, free: 128.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/1.016, allocations: 420.9 kB / 0.7672 GB, free: 128 MB / 0.5606 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.003718/1.02, allocations: 2.459 MB / 0.7696 GB, free: 125.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007883/1.021, allocations: 402.3 kB / 0.7699 GB, free: 125.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/1.025, allocations: 3.307 MB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.558e-05/1.025, allocations: 23.94 kB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/1.025, allocations: 8 kB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.025, allocations: 11.34 kB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.038, allocations: 7.025 MB / 0.7801 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/1.038, allocations: 0 / 0.7801 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/1.039, allocations: 255.6 kB / 0.7803 GB, free: 115.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002404/1.041, allocations: 0.9995 MB / 0.7813 GB, free: 114.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001613/1.042, allocations: 32 kB / 0.7813 GB, free: 114.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006977/1.048, allocations: 7.482 MB / 0.7886 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.049, allocations: 7.938 kB / 0.7886 GB, free: 106.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007314/1.056, allocations: 5.785 MB / 0.7943 GB, free: 101 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.057, allocations: 372.6 kB / 0.7947 GB, free: 100.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008029/1.058, allocations: 32 kB / 0.7947 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00176/1.06, allocations: 87.88 kB / 0.7948 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002673/1.06, allocations: 104.6 kB / 0.7949 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/1.06, allocations: 48 kB / 0.7949 GB, free: 100.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003383/1.063, allocations: 2.811 MB / 0.7977 GB, free: 97.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/1.063, allocations: 0 / 0.7977 GB, free: 97.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005574/1.069, allocations: 1.13 MB / 0.7988 GB, free: 96.57 MB / 0.5606 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.0003808/1.069, allocations: 160.8 kB / 0.7989 GB, free: 96.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006577/1.076, allocations: 5.345 MB / 0.8041 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.076, allocations: 0 / 0.8041 GB, free: 91.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/1.077, allocations: 1.536 MB / 0.8056 GB, free: 89.53 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/1.08, allocations: 0.5043 MB / 0.8061 GB, free: 89.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/1.093, allocations: 10.89 MB / 0.8168 GB, free: 78.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/1.096, allocations: 3.26 MB / 0.8199 GB, free: 74.77 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003654/1.1, allocations: 2.015 MB / 0.8219 GB, free: 72.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005588/1.1, allocations: 259.4 kB / 0.8222 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.182e-06/1.1, allocations: 0 / 0.8222 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.06405/1.165, allocations: 42.89 MB / 0.864 GB, free: 30.21 MB / 0.5606 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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: 7.127056817989796]