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: 107 kB / 19.8 MB, free: 2.5 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.002134/0.002134, allocations: 220.3 kB / 23 MB, free: 5.578 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.523/1.523, allocations: 230.2 MB / 256.2 MB, free: 8.523 MB / 206.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.2454/0.2454, allocations: 46.91 MB / 359.4 MB, free: 4.84 MB / 286.1 MB " [Timeout remaining time 179] 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.002288/0.002288, allocations: 75.88 kB / 0.4946 GB, free: 8.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3605, allocations: 66 MB / 0.5591 GB, free: 5.035 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01533/0.3758, allocations: 12.76 MB / 0.5716 GB, free: 8.227 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01121/0.387, allocations: 4.544 MB / 0.576 GB, free: 3.664 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002181/0.3892, allocations: 87.75 kB / 0.5761 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00798/0.3972, allocations: 3.765 MB / 0.5797 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006826/0.404, allocations: 2.237 MB / 0.5819 GB, free: 13.55 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002783/0.4068, allocations: 1.006 MB / 0.5829 GB, free: 12.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01048/0.4173, allocations: 6.042 MB / 0.5888 GB, free: 6.496 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005219/0.4225, allocations: 3.26 MB / 0.592 GB, free: 3.168 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.4262, allocations: 1.959 MB / 0.5939 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004892/0.4311, allocations: 2.827 MB / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001293/0.4324, allocations: 408 kB / 0.5971 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.4358, allocations: 1.486 MB / 0.5985 GB, free: 12.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004736/0.4405, allocations: 2.489 MB / 0.6009 GB, free: 9.984 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006995/0.4475, allocations: 2.711 MB / 0.6036 GB, free: 7.258 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01471/0.4622, allocations: 8.657 MB / 0.612 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.4622, allocations: 0 / 0.612 GB, free: 14.56 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.4622, allocations: 4 kB / 0.6121 GB, free: 14.56 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003123/0.4625, allocations: 0 / 0.6121 GB, free: 14.56 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.01612/0.4786, allocations: 6.17 MB / 0.6181 GB, free: 8.309 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.4787, allocations: 15.97 kB / 0.6181 GB, free: 8.293 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01092/0.4896, allocations: 2.567 MB / 0.6206 GB, free: 5.719 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/0.4984, allocations: 3.76 MB / 0.6243 GB, free: 1.906 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.4986, allocations: 283.5 kB / 0.6245 GB, free: 1.629 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.4999, allocations: 375.7 kB / 0.6249 GB, free: 1.262 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.5232, allocations: 11.61 MB / 0.6362 GB, free: 4.805 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001765/0.5234, allocations: 63.45 kB / 0.6363 GB, free: 4.742 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005308/0.5239, allocations: 183.8 kB / 0.6365 GB, free: 4.562 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003822/0.5277, allocations: 2.143 MB / 0.6386 GB, free: 2.418 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02146/0.5492, allocations: 9.633 MB / 0.648 GB, free: 8.766 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/0.614, allocations: 45.86 MB / 0.6928 GB, free: 9.633 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.6246, allocations: 3.792 MB / 0.6965 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.628, allocations: 1.982 MB / 0.6984 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.6397, allocations: 5.888 MB / 0.7041 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.6398, allocations: 52.11 kB / 0.7042 GB, free: 13.65 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.849e-06/0.6398, allocations: 0 / 0.7042 GB, free: 13.65 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04785/0.6876, allocations: 17.68 MB / 0.7215 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.6878, allocations: 230.1 kB / 0.7217 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008631/0.6964, allocations: 5.632 MB / 0.7272 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000493/0.6969, allocations: 49.7 kB / 0.7272 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003793/0.7007, allocations: 3.849 MB / 0.731 GB, free: 1.961 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001238/0.7019, allocations: 0.6864 MB / 0.7317 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.3245/1.026, allocations: 1.415 MB / 0.733 GB, free: 154.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.374e-05/1.027, allocations: 306.1 kB / 0.7333 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004689/1.031, allocations: 2.288 MB / 0.7356 GB, free: 154.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004549/1.036, allocations: 6.564 MB / 0.742 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007913/1.044, allocations: 9.503 MB / 0.7513 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.466e-05/1.044, allocations: 50 kB / 0.7513 GB, free: 139.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01501/1.059, allocations: 9.584 MB / 0.7607 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.923e-05/1.059, allocations: 68 kB / 0.7607 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001399/1.059, allocations: 160 kB / 0.7609 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002777/1.062, allocations: 1.229 MB / 0.7621 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004447/1.066, allocations: 1.56 MB / 0.7636 GB, free: 132.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007615/1.074, allocations: 8.461 MB / 0.7719 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006948/1.081, allocations: 366.4 kB / 0.7722 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001066/1.082, allocations: 431.6 kB / 0.7726 GB, free: 124.2 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.003769/1.086, allocations: 2.461 MB / 0.775 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/1.087, allocations: 474.5 kB / 0.7755 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/1.092, allocations: 3.386 MB / 0.7788 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/1.092, allocations: 16 kB / 0.7788 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.575e-05/1.092, allocations: 8 kB / 0.7788 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.598e-05/1.092, allocations: 11.91 kB / 0.7788 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/1.104, allocations: 8.182 MB / 0.7868 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/1.104, allocations: 288 / 0.7868 GB, free: 110 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/1.106, allocations: 263.6 kB / 0.7871 GB, free: 109.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002277/1.108, allocations: 0.9981 MB / 0.788 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001324/1.108, allocations: 31.98 kB / 0.7881 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006814/1.115, allocations: 7.803 MB / 0.7957 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.115, allocations: 4 kB / 0.7957 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006965/1.122, allocations: 5.879 MB / 0.8014 GB, free: 94.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/1.123, allocations: 0.545 MB / 0.802 GB, free: 94.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004969/1.124, allocations: 28 kB / 0.802 GB, free: 94.29 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/1.125, allocations: 91.81 kB / 0.8021 GB, free: 94.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002934/1.125, allocations: 100.8 kB / 0.8022 GB, free: 94.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.125, allocations: 40 kB / 0.8022 GB, free: 94.07 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004536/1.13, allocations: 3.596 MB / 0.8057 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.13, allocations: 3.938 kB / 0.8057 GB, free: 90.49 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005368/1.135, allocations: 1.146 MB / 0.8068 GB, free: 89.35 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.0003533/1.136, allocations: 161.6 kB / 0.807 GB, free: 89.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006612/1.142, allocations: 5.33 MB / 0.8122 GB, free: 83.87 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/1.142, allocations: 1.609 kB / 0.8122 GB, free: 83.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001661/1.144, allocations: 1.538 MB / 0.8137 GB, free: 82.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/1.147, allocations: 0.5863 MB / 0.8143 GB, free: 81.73 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.162, allocations: 11.02 MB / 0.825 GB, free: 70.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/1.165, allocations: 3.775 MB / 0.8287 GB, free: 66.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004269/1.169, allocations: 2.108 MB / 0.8308 GB, free: 64.74 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009095/1.17, allocations: 291.4 kB / 0.8311 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of SimCode: time 2.134e-06/1.17, allocations: 0 / 0.8311 GB, free: 64.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.07168/1.242, allocations: 42.81 MB / 0.8729 GB, free: 21.9 MB / 0.5606 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.0.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.582593920640647]