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.001935/0.001935, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.002372/0.002372, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.503/1.503, allocations: 227.4 MB / 252.3 MB, free: 96 kB / 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.2334/0.2334, allocations: 46.17 MB / 351.8 MB, free: 14.29 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 0.002309/0.002309, allocations: 82.22 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1122, allocations: 62.44 MB / 0.5404 GB, free: 4.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.0144/0.1266, allocations: 12.68 MB / 0.5528 GB, free: 7.613 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009405/0.1361, allocations: 4.486 MB / 0.5571 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002851/0.139, allocations: 87.75 kB / 0.5572 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007133/0.1462, allocations: 3.715 MB / 0.5608 GB, free: 15.3 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.1523, allocations: 2.188 MB / 0.563 GB, free: 13.1 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.1548, allocations: 0.9904 MB / 0.5639 GB, free: 12.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009287/0.1641, allocations: 6.038 MB / 0.5698 GB, free: 6.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006273/0.1704, allocations: 4.561 MB / 0.5743 GB, free: 1.426 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003912/0.1744, allocations: 1.955 MB / 0.5762 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.1788, allocations: 2.617 MB / 0.5788 GB, free: 12.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001349/0.1802, allocations: 408 kB / 0.5792 GB, free: 12.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003357/0.1835, allocations: 1.443 MB / 0.5806 GB, free: 11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003214/0.1868, allocations: 2.42 MB / 0.5829 GB, free: 8.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004535/0.1913, allocations: 2.703 MB / 0.5856 GB, free: 5.852 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01174/0.2031, allocations: 8.658 MB / 0.594 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.413e-06/0.2032, allocations: 0 / 0.594 GB, free: 13.16 MB / 462.1 MB Notification: Performance of FrontEnd: time 4.168e-06/0.2032, allocations: 3.984 kB / 0.594 GB, free: 13.16 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003116/0.2035, allocations: 0 / 0.594 GB, free: 13.16 MB / 462.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.01518/0.2187, allocations: 6.175 MB / 0.6001 GB, free: 6.898 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.2187, allocations: 8.031 kB / 0.6001 GB, free: 6.891 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01221/0.231, allocations: 2.579 MB / 0.6026 GB, free: 4.305 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008709/0.2397, allocations: 3.752 MB / 0.6062 GB, free: 0.5 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002645/0.24, allocations: 279.5 kB / 0.6065 GB, free: 232 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2399/0.4799, allocations: 374.7 kB / 0.6069 GB, free: 56.45 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02115/0.5011, allocations: 11.61 MB / 0.6182 GB, free: 51.75 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001691/0.5013, allocations: 55.5 kB / 0.6183 GB, free: 51.72 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005469/0.5019, allocations: 181.5 kB / 0.6184 GB, free: 51.64 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003741/0.5056, allocations: 2.139 MB / 0.6205 GB, free: 51.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01823/0.5239, allocations: 9.635 MB / 0.6299 GB, free: 48.25 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04094/0.5649, allocations: 45.84 MB / 0.6747 GB, free: 4.461 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008939/0.5738, allocations: 3.925 MB / 0.6785 GB, free: 392 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00299/0.5769, allocations: 2.139 MB / 0.6806 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.5874, allocations: 5.879 MB / 0.6864 GB, free: 8.273 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/0.5875, allocations: 56.03 kB / 0.6864 GB, free: 8.211 MB / 478.1 MB Notification: Performance of pre-optimization done (n=150): time 4.508e-06/0.5876, allocations: 0 / 0.6864 GB, free: 8.211 MB / 478.1 MB Notification: Performance of matching and sorting (n=162): time 0.05099/0.6386, allocations: 17.7 MB / 0.7037 GB, free: 6.336 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.6388, allocations: 226.1 kB / 0.7039 GB, free: 6.066 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01044/0.6492, allocations: 5.628 MB / 0.7094 GB, free: 472 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.6497, allocations: 53.7 kB / 0.7095 GB, free: 412 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00392/0.6536, allocations: 3.849 MB / 0.7132 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001198/0.6548, allocations: 0.6903 MB / 0.7139 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003534/0.6584, allocations: 1.413 MB / 0.7153 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6585, allocations: 313.1 kB / 0.7156 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004041/0.6626, allocations: 2.285 MB / 0.7178 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008191/0.6708, allocations: 6.555 MB / 0.7242 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/0.6838, allocations: 9.518 MB / 0.7335 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001515/0.684, allocations: 44 kB / 0.7335 GB, free: 3.457 MB / 0.5137 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.0206/0.7046, allocations: 9.609 MB / 0.7429 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001996/0.7048, allocations: 74.48 kB / 0.743 GB, free: 9.762 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002996/0.7051, allocations: 152 kB / 0.7431 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003672/0.7088, allocations: 1.229 MB / 0.7443 GB, free: 8.379 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/0.714, allocations: 1.563 MB / 0.7459 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.726, allocations: 8.459 MB / 0.7541 GB, free: 14.08 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005573/0.7316, allocations: 363.8 kB / 0.7545 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001372/0.7331, allocations: 424 kB / 0.7549 GB, free: 13.31 MB / 0.545 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.005573/0.7386, allocations: 2.472 MB / 0.7573 GB, free: 10.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/0.7399, allocations: 476.8 kB / 0.7578 GB, free: 10.36 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007598/0.7475, allocations: 3.396 MB / 0.7611 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.532e-05/0.7476, allocations: 16 kB / 0.7611 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/0.7476, allocations: 8 kB / 0.7611 GB, free: 6.922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.482e-05/0.7477, allocations: 7.969 kB / 0.7611 GB, free: 6.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/0.7663, allocations: 8.195 MB / 0.7691 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/0.7664, allocations: 8 kB / 0.7691 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001326/0.7677, allocations: 259.5 kB / 0.7694 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003034/0.7708, allocations: 1.004 MB / 0.7703 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.7711, allocations: 31.98 kB / 0.7704 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.7816, allocations: 7.799 MB / 0.778 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.7816, allocations: 4 kB / 0.778 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01015/0.7918, allocations: 5.88 MB / 0.7837 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/0.7933, allocations: 0.5369 MB / 0.7843 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001103/0.7944, allocations: 31.94 kB / 0.7843 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00227/0.7967, allocations: 91.88 kB / 0.7844 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000342/0.7971, allocations: 100.8 kB / 0.7845 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.7972, allocations: 44 kB / 0.7845 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007443/0.8047, allocations: 3.596 MB / 0.788 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8047, allocations: 0 / 0.788 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006736/0.8115, allocations: 1.152 MB / 0.7891 GB, free: 9.746 MB / 0.5762 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.0006998/0.8122, allocations: 160.2 kB / 0.7893 GB, free: 9.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01025/0.8225, allocations: 5.558 MB / 0.7947 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/0.8225, allocations: 3.938 kB / 0.7947 GB, free: 4.031 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003005/0.8255, allocations: 1.618 MB / 0.7963 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00451/0.83, allocations: 0.5992 MB / 0.7969 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02337/0.8535, allocations: 11.4 MB / 0.808 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006142/0.8597, allocations: 3.752 MB / 0.8117 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/0.8609, allocations: 335.4 kB / 0.812 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of SimCode: time 6.01e-07/0.8609, allocations: 0 / 0.812 GB, free: 2.191 MB / 0.5919 GB Notification: Performance of Templates: time 0.3922/1.253, allocations: 112.4 MB / 0.9218 GB, free: 153.1 MB / 0.6231 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.26441475294996]