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.001755/0.001755, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 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.002242/0.002242, allocations: 164.6 kB / 24.5 MB, free: 3.453 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.54/1.54, allocations: 177.1 MB / 204.7 MB, free: 8.898 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.2164/0.2164, allocations: 34.25 MB / 295.4 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 0.002442/0.002442, allocations: 79.86 kB / 443.2 MB, free: 6.527 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2888, allocations: 66.05 MB / 0.4973 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.008921/0.2977, allocations: 11.11 MB / 0.5081 GB, free: 22.62 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006502/0.3042, allocations: 4.288 MB / 0.5123 GB, free: 19.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.3053, allocations: 102.9 kB / 0.5124 GB, free: 19.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005404/0.3107, allocations: 3.604 MB / 0.5159 GB, free: 18.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.3149, allocations: 2.259 MB / 0.5181 GB, free: 17.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3165, allocations: 0.9998 MB / 0.5191 GB, free: 16.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006795/0.3233, allocations: 6.047 MB / 0.525 GB, free: 14.57 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003501/0.3268, allocations: 3.506 MB / 0.5284 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0026/0.3294, allocations: 1.986 MB / 0.5304 GB, free: 12.11 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003505/0.3329, allocations: 2.672 MB / 0.533 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007573/0.3337, allocations: 407.2 kB / 0.5334 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002371/0.3361, allocations: 1.34 MB / 0.5347 GB, free: 10.87 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002402/0.3385, allocations: 2.486 MB / 0.5371 GB, free: 9.41 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002627/0.3411, allocations: 2.02 MB / 0.5391 GB, free: 8.051 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009056/0.3502, allocations: 8.699 MB / 0.5476 GB, free: 1.945 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3502, allocations: 0 / 0.5476 GB, free: 1.945 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3502, allocations: 0 / 0.5476 GB, free: 1.945 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002759/0.3504, allocations: 0 / 0.5476 GB, free: 1.945 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.01578/0.3662, allocations: 6.092 MB / 0.5535 GB, free: 11.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3663, allocations: 12.03 kB / 0.5535 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01255/0.3788, allocations: 2.661 MB / 0.5561 GB, free: 9.105 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008871/0.3877, allocations: 3.684 MB / 0.5597 GB, free: 5.371 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002413/0.3879, allocations: 283.5 kB / 0.56 GB, free: 5.094 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007707/0.3887, allocations: 375.7 kB / 0.5604 GB, free: 4.727 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.4085, allocations: 11.67 MB / 0.5718 GB, free: 8.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.4087, allocations: 59.52 kB / 0.5718 GB, free: 8.133 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004739/0.4092, allocations: 179.8 kB / 0.572 GB, free: 7.957 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003751/0.4129, allocations: 2.154 MB / 0.5741 GB, free: 5.801 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02002/0.4329, allocations: 9.613 MB / 0.5835 GB, free: 12.17 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05875/0.4917, allocations: 43.05 MB / 0.6255 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01101/0.5027, allocations: 3.5 MB / 0.6289 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003197/0.5059, allocations: 1.99 MB / 0.6309 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01149/0.5174, allocations: 5.053 MB / 0.6358 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.451e-05/0.5174, allocations: 55.98 kB / 0.6359 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=150): time 4.488e-06/0.5174, allocations: 0 / 0.6359 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=162): time 0.04875/0.5662, allocations: 17.93 MB / 0.6534 GB, free: 3.125 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001606/0.5664, allocations: 226.2 kB / 0.6536 GB, free: 2.855 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00823/0.5746, allocations: 4.807 MB / 0.6583 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004907/0.5751, allocations: 45.7 kB / 0.6583 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003853/0.5789, allocations: 3.902 MB / 0.6622 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001313/0.5802, allocations: 0.6864 MB / 0.6628 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002388/0.5826, allocations: 1.42 MB / 0.6642 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5828, allocations: 301.1 kB / 0.6645 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003672/0.5864, allocations: 2.293 MB / 0.6667 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00743/0.5939, allocations: 6.597 MB / 0.6732 GB, free: 12.6 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01229/0.6062, allocations: 9.525 MB / 0.6825 GB, free: 0.9609 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001003/0.6063, allocations: 44 kB / 0.6825 GB, free: 0.918 MB / 0.5763 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01744/0.6237, allocations: 9.507 MB / 0.6918 GB, free: 7.395 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.6238, allocations: 71.94 kB / 0.6919 GB, free: 7.324 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.624, allocations: 152.8 kB / 0.692 GB, free: 7.176 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003305/0.6273, allocations: 1.227 MB / 0.6932 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004717/0.632, allocations: 1.563 MB / 0.6947 GB, free: 4.375 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2418/0.8738, allocations: 8.127 MB / 0.7027 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004972/0.8788, allocations: 363.6 kB / 0.703 GB, free: 155.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008219/0.8796, allocations: 424.5 kB / 0.7034 GB, free: 155.2 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.003658/0.8832, allocations: 2.46 MB / 0.7058 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006539/0.8839, allocations: 407.8 kB / 0.7062 GB, free: 154.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005288/0.8892, allocations: 3.308 MB / 0.7095 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.8892, allocations: 22.75 kB / 0.7095 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.8892, allocations: 4.594 kB / 0.7095 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/0.8892, allocations: 9.438 kB / 0.7095 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/0.9011, allocations: 7.047 MB / 0.7164 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.9011, allocations: 5.609 kB / 0.7164 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001329/0.9025, allocations: 254.7 kB / 0.7166 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002872/0.9053, allocations: 0.9997 MB / 0.7176 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.9055, allocations: 31.39 kB / 0.7176 GB, free: 150.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008976/0.9145, allocations: 7.487 MB / 0.7249 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/0.9145, allocations: 7.094 kB / 0.7249 GB, free: 146.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0098/0.9243, allocations: 5.775 MB / 0.7306 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.9254, allocations: 371.9 kB / 0.7309 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.9258, allocations: 30.98 kB / 0.731 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001474/0.9273, allocations: 94.12 kB / 0.7311 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.9276, allocations: 105 kB / 0.7312 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.9277, allocations: 44.28 kB / 0.7312 GB, free: 144.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004513/0.9322, allocations: 2.817 MB / 0.734 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/0.9322, allocations: 0 / 0.734 GB, free: 143.1 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005619/0.9379, allocations: 1.126 MB / 0.7351 GB, free: 143 MB / 0.5919 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.0003611/0.9382, allocations: 166.7 kB / 0.7352 GB, free: 142.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007668/0.9459, allocations: 5.344 MB / 0.7404 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/0.9459, allocations: 0 / 0.7404 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.9478, allocations: 1.522 MB / 0.7419 GB, free: 140.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/0.9506, allocations: 0.5034 MB / 0.7424 GB, free: 140.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/0.9651, allocations: 10.9 MB / 0.7531 GB, free: 135.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003316/0.9684, allocations: 3.252 MB / 0.7562 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.003854/0.9723, allocations: 2.016 MB / 0.7582 GB, free: 134.2 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006032/0.9729, allocations: 254.9 kB / 0.7584 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.9729, allocations: 0 / 0.7584 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.06209/1.035, allocations: 34.68 MB / 0.7923 GB, free: 101.2 MB / 0.5919 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/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.081584737054072]