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.001642/0.001642, allocations: 102.8 kB / 21.19 MB, free: 0.6367 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.001801/0.001801, allocations: 219 kB / 24.49 MB, free: 3.926 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.471/1.471, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.2279/0.2279, allocations: 46.96 MB / 361.6 MB, free: 4.059 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.002091/0.002091, allocations: 63.91 kB / 0.4973 GB, free: 7.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3141/0.3162, allocations: 66.03 MB / 0.5618 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0145/0.3307, allocations: 11.08 MB / 0.5727 GB, free: 9.062 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3408, allocations: 4.303 MB / 0.5769 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002081/0.3429, allocations: 99.5 kB / 0.577 GB, free: 4.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007357/0.3503, allocations: 3.618 MB / 0.5805 GB, free: 1.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005617/0.3559, allocations: 2.256 MB / 0.5827 GB, free: 14.76 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002042/0.3579, allocations: 0.9943 MB / 0.5837 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008169/0.3661, allocations: 6.055 MB / 0.5896 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004757/0.3709, allocations: 3.529 MB / 0.593 GB, free: 4.098 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.3744, allocations: 1.99 MB / 0.595 GB, free: 2.102 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004915/0.3793, allocations: 2.823 MB / 0.5977 GB, free: 15.27 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.3805, allocations: 408 kB / 0.5981 GB, free: 14.87 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.3836, allocations: 1.354 MB / 0.5994 GB, free: 13.52 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002849/0.3865, allocations: 2.485 MB / 0.6019 GB, free: 11.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003013/0.3895, allocations: 2.019 MB / 0.6038 GB, free: 8.992 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.4005, allocations: 8.693 MB / 0.6123 GB, free: 272 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.4005, allocations: 4 kB / 0.6123 GB, free: 268 kB / 446.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4005, allocations: 4 kB / 0.6123 GB, free: 264 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002795/0.4008, allocations: 0 / 0.6123 GB, free: 264 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.01467/0.4154, allocations: 6.092 MB / 0.6183 GB, free: 10.09 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.4155, allocations: 8.031 kB / 0.6183 GB, free: 10.09 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01156/0.427, allocations: 2.571 MB / 0.6208 GB, free: 7.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009541/0.4366, allocations: 3.68 MB / 0.6244 GB, free: 3.777 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002641/0.4368, allocations: 283.5 kB / 0.6247 GB, free: 3.5 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001146/0.438, allocations: 383.7 kB / 0.625 GB, free: 3.125 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02119/0.4592, allocations: 11.66 MB / 0.6364 GB, free: 6.598 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001567/0.4593, allocations: 59.47 kB / 0.6365 GB, free: 6.539 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004996/0.4598, allocations: 175.8 kB / 0.6366 GB, free: 6.367 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003758/0.4636, allocations: 2.154 MB / 0.6387 GB, free: 4.215 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01952/0.4831, allocations: 9.594 MB / 0.6481 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0614/0.5445, allocations: 42.9 MB / 0.69 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.5554, allocations: 3.33 MB / 0.6933 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003069/0.5584, allocations: 1.99 MB / 0.6952 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01097/0.5694, allocations: 5.003 MB / 0.7001 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.406e-05/0.5695, allocations: 47.98 kB / 0.7001 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 6.221e-06/0.5695, allocations: 0 / 0.7001 GB, free: 3.973 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04921/0.6187, allocations: 17.41 MB / 0.7171 GB, free: 2.449 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/0.6188, allocations: 222.3 kB / 0.7173 GB, free: 2.184 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007083/0.6259, allocations: 4.807 MB / 0.722 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0003693/0.6263, allocations: 53.92 kB / 0.7221 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003253/0.6295, allocations: 3.894 MB / 0.7259 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.6305, allocations: 0.6903 MB / 0.7266 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002182/0.6327, allocations: 1.42 MB / 0.728 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6329, allocations: 305.1 kB / 0.7282 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.6366, allocations: 2.285 MB / 0.7305 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2576/0.8942, allocations: 6.597 MB / 0.7369 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008454/0.9027, allocations: 9.519 MB / 0.7462 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001625/0.9028, allocations: 46.94 kB / 0.7463 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01376/0.9166, allocations: 9.508 MB / 0.7555 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/0.9167, allocations: 68.44 kB / 0.7556 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/0.9168, allocations: 154.2 kB / 0.7558 GB, free: 137.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002792/0.9196, allocations: 1.234 MB / 0.757 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004174/0.9238, allocations: 1.556 MB / 0.7585 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007587/0.9314, allocations: 8.132 MB / 0.7664 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004413/0.9358, allocations: 368.9 kB / 0.7668 GB, free: 128.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005002/0.9363, allocations: 419.2 kB / 0.7672 GB, free: 128.1 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.002782/0.9391, allocations: 2.467 MB / 0.7696 GB, free: 126 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005227/0.9396, allocations: 405.7 kB / 0.77 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005051/0.9446, allocations: 3.303 MB / 0.7732 GB, free: 122.7 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.9447, allocations: 15.91 kB / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9447, allocations: 0 / 0.7732 GB, free: 122.6 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000679/0.9453, allocations: 360 kB / 0.7736 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/0.9458, allocations: 28 kB / 0.7736 GB, free: 122.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001325/0.9471, allocations: 87.88 kB / 0.7737 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002205/0.9473, allocations: 112.9 kB / 0.7738 GB, free: 122.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005929/0.9532, allocations: 3.909 MB / 0.7776 GB, free: 118.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00732/0.9606, allocations: 4.846 MB / 0.7823 GB, free: 113.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001812/0.9624, allocations: 1.129 MB / 0.7834 GB, free: 112.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005197/0.9676, allocations: 2.811 MB / 0.7862 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of Backend: time 4.91e-07/0.9676, allocations: 0 / 0.7862 GB, free: 109.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01282/0.9804, allocations: 4.53 MB / 0.7906 GB, free: 105.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01651/0.9969, allocations: 11.11 MB / 0.8015 GB, free: 94.17 MB / 0.5606 GB Notification: Performance of Templates: time 0.0777/1.075, allocations: 56.18 MB / 0.8563 GB, free: 38.61 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 -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.1695375660056015]