Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001791/0.001791, allocations: 88.52 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002228, allocations: 158.8 kB / 23.95 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.552/1.552, allocations: 177 MB / 204.1 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 34.26 MB / 294.8 MB, free: 14.52 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 442.7 MB, free: 5.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.404e-05/3.612e-05, allocations: 4.812 kB / 442.7 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.2354/0.2355, allocations: 11.1 MB / 453.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009064/0.2445, allocations: 4.297 MB / 458.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.2475, allocations: 101.4 kB / 458.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007648/0.2551, allocations: 3.803 MB / 462 MB, free: 9.121 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007095/0.2622, allocations: 2.326 MB / 464.3 MB, free: 8.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002705/0.2649, allocations: 1.092 MB / 465.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009628/0.2746, allocations: 6.8 MB / 472.2 MB, free: 4.457 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005821/0.2804, allocations: 4.016 MB / 476.2 MB, free: 1.758 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006445/0.2868, allocations: 2.993 MB / 479.2 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005356/0.2922, allocations: 2.887 MB / 482.1 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001274/0.2935, allocations: 417.3 kB / 482.5 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00353/0.297, allocations: 1.396 MB / 483.9 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003428/0.3004, allocations: 2.61 MB / 486.5 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003494/0.3039, allocations: 1.589 MB / 488.1 MB, free: 8.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0127/0.3166, allocations: 8.754 MB / 496.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.3166, allocations: 0 / 496.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3166, allocations: 0 / 496.8 MB, free: 15.66 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002968/0.3169, allocations: 4 kB / 496.8 MB, free: 15.66 MB / 398.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.01548/0.3324, allocations: 6.147 MB / 0.4912 GB, free: 9.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3325, allocations: 8.031 kB / 0.4912 GB, free: 9.438 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.3454, allocations: 2.661 MB / 0.4938 GB, free: 6.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01073/0.3561, allocations: 3.665 MB / 0.4974 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/0.3564, allocations: 279.5 kB / 0.4977 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.3578, allocations: 380.1 kB / 0.498 GB, free: 2.414 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02448/0.3823, allocations: 11.67 MB / 0.5094 GB, free: 5.879 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001793/0.3825, allocations: 51.58 kB / 0.5095 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005617/0.383, allocations: 187.8 kB / 0.5096 GB, free: 5.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004365/0.3874, allocations: 2.143 MB / 0.5117 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.4098, allocations: 9.613 MB / 0.5211 GB, free: 9.867 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06263/0.4724, allocations: 43.27 MB / 0.5634 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.4836, allocations: 3.491 MB / 0.5668 GB, free: 9.816 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003283/0.4869, allocations: 1.987 MB / 0.5687 GB, free: 7.816 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/0.498, allocations: 5.318 MB / 0.5739 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.192e-05/0.4981, allocations: 48.05 kB / 0.574 GB, free: 2.406 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 5.23e-06/0.4981, allocations: 0 / 0.574 GB, free: 2.406 MB / 478.1 MB Notification: Performance of matching and sorting (n=162): time 0.05212/0.5502, allocations: 18.1 MB / 0.5916 GB, free: 196 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001647/0.5504, allocations: 218.3 kB / 0.5919 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007447/0.5578, allocations: 4.983 MB / 0.5967 GB, free: 10.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003211/0.5582, allocations: 57.67 kB / 0.5968 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003268/0.5614, allocations: 3.848 MB / 0.6005 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009919/0.5624, allocations: 0.6747 MB / 0.6012 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001985/0.5644, allocations: 1.401 MB / 0.6026 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5645, allocations: 305.1 kB / 0.6029 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003567/0.5681, allocations: 2.282 MB / 0.6051 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007581/0.5757, allocations: 6.609 MB / 0.6115 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.5881, allocations: 9.517 MB / 0.6208 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/0.5883, allocations: 44 kB / 0.6209 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.02003/0.6083, allocations: 9.513 MB / 0.6302 GB, free: 4.371 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.6084, allocations: 72 kB / 0.6302 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/0.6086, allocations: 148 kB / 0.6304 GB, free: 4.156 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003523/0.6121, allocations: 1.236 MB / 0.6316 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005555/0.6177, allocations: 1.567 MB / 0.6331 GB, free: 1.348 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2435/0.8612, allocations: 8.167 MB / 0.6411 GB, free: 158.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005791/0.867, allocations: 433 kB / 0.6415 GB, free: 158 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001174/0.8682, allocations: 423.8 kB / 0.6419 GB, free: 158 MB / 0.5294 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.004859/0.873, allocations: 2.454 MB / 0.6443 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001099/0.8741, allocations: 399.5 kB / 0.6447 GB, free: 157.1 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006727/0.8808, allocations: 3.315 MB / 0.6479 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-05/0.8809, allocations: 21.59 kB / 0.6479 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.8809, allocations: 9.688 kB / 0.6479 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-05/0.8809, allocations: 8.266 kB / 0.648 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01592/0.8968, allocations: 7.166 MB / 0.655 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.085e-05/0.8969, allocations: 3.406 kB / 0.655 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.8982, allocations: 254.1 kB / 0.6552 GB, free: 153.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002773/0.901, allocations: 1.002 MB / 0.6562 GB, free: 153.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001912/0.9012, allocations: 31.59 kB / 0.6562 GB, free: 153.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008272/0.9095, allocations: 7.544 MB / 0.6636 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/0.9095, allocations: 6.875 kB / 0.6636 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007893/0.9174, allocations: 5.781 MB / 0.6692 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00144/0.9188, allocations: 419 kB / 0.6696 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000453/0.9193, allocations: 31.19 kB / 0.6697 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/0.921, allocations: 148.1 kB / 0.6698 GB, free: 146.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003727/0.9214, allocations: 103.6 kB / 0.6699 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/0.9215, allocations: 45.81 kB / 0.6699 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004328/0.9259, allocations: 2.955 MB / 0.6728 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9259, allocations: 0 / 0.6728 GB, free: 145.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007048/0.9329, allocations: 1.272 MB / 0.6741 GB, free: 145.6 MB / 0.5294 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.000554/0.9335, allocations: 178.8 kB / 0.6742 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007355/0.9408, allocations: 5.339 MB / 0.6794 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/0.9408, allocations: 4 kB / 0.6795 GB, free: 143.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/0.9427, allocations: 1.524 MB / 0.6809 GB, free: 142.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/0.9468, allocations: 0.5138 MB / 0.6814 GB, free: 141.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01689/0.9636, allocations: 10.82 MB / 0.692 GB, free: 131.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003355/0.967, allocations: 3.255 MB / 0.6952 GB, free: 127.9 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003927/0.9709, allocations: 2.023 MB / 0.6972 GB, free: 125.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008467/0.9718, allocations: 268.4 kB / 0.6974 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.213e-06/0.9718, allocations: 0 / 0.6974 GB, free: 125.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.06533/1.037, allocations: 36.79 MB / 0.7334 GB, free: 89.33 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.34584716334939]