Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001731/0.001731, allocations: 114.5 kB / 21.18 MB, free: 0.7422 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.001879/0.001879, allocations: 211.4 kB / 24.48 MB, free: 4.191 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.399/1.399, allocations: 230.2 MB / 257.8 MB, free: 8.48 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2187/0.2187, allocations: 46.88 MB / 361.1 MB, free: 4.617 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 87.8 kB / 0.4968 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2788, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01467/0.2935, allocations: 12.76 MB / 0.5737 GB, free: 8.207 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009056/0.3025, allocations: 4.548 MB / 0.5781 GB, free: 3.641 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001826/0.3044, allocations: 83.75 kB / 0.5782 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006861/0.3112, allocations: 3.765 MB / 0.5819 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005409/0.3166, allocations: 2.245 MB / 0.5841 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002112/0.3188, allocations: 1.006 MB / 0.585 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008689/0.3274, allocations: 6.046 MB / 0.591 GB, free: 6.461 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004399/0.3318, allocations: 3.253 MB / 0.5941 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002897/0.3347, allocations: 1.959 MB / 0.596 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003921/0.3387, allocations: 2.827 MB / 0.5988 GB, free: 14.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009514/0.3396, allocations: 408 kB / 0.5992 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.3426, allocations: 1.482 MB / 0.6006 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002698/0.3453, allocations: 2.489 MB / 0.6031 GB, free: 9.957 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003358/0.3487, allocations: 2.707 MB / 0.6057 GB, free: 7.234 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01067/0.3593, allocations: 8.661 MB / 0.6142 GB, free: 14.54 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3593, allocations: 0 / 0.6142 GB, free: 14.54 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3593, allocations: 0 / 0.6142 GB, free: 14.54 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002376/0.3596, allocations: 0 / 0.6142 GB, free: 14.54 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.01453/0.3741, allocations: 6.167 MB / 0.6202 GB, free: 8.285 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.3741, allocations: 8.031 kB / 0.6202 GB, free: 8.277 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.3857, allocations: 2.579 MB / 0.6227 GB, free: 5.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009281/0.395, allocations: 3.763 MB / 0.6264 GB, free: 1.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002575/0.3953, allocations: 275.5 kB / 0.6267 GB, free: 1.605 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.3964, allocations: 379.7 kB / 0.627 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02135/0.4178, allocations: 11.62 MB / 0.6384 GB, free: 4.766 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.4179, allocations: 59.53 kB / 0.6384 GB, free: 4.707 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005971/0.4185, allocations: 175.8 kB / 0.6386 GB, free: 4.535 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003743/0.4223, allocations: 2.147 MB / 0.6407 GB, free: 2.387 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01944/0.4417, allocations: 9.625 MB / 0.6501 GB, free: 8.742 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/0.4999, allocations: 45.86 MB / 0.6949 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01058/0.5105, allocations: 3.784 MB / 0.6986 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002805/0.5133, allocations: 1.992 MB / 0.7005 GB, free: 3.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/0.5241, allocations: 5.884 MB / 0.7063 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.239e-05/0.5241, allocations: 56.05 kB / 0.7063 GB, free: 13.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.649e-06/0.5241, allocations: 0 / 0.7063 GB, free: 13.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.04641/0.5705, allocations: 17.69 MB / 0.7236 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.5707, allocations: 222.2 kB / 0.7238 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007895/0.5786, allocations: 5.632 MB / 0.7293 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002481/0.5788, allocations: 45.7 kB / 0.7293 GB, free: 5.812 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003173/0.582, allocations: 3.849 MB / 0.7331 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007881/0.5828, allocations: 0.6866 MB / 0.7338 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2378/0.8206, allocations: 1.414 MB / 0.7352 GB, free: 154.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.619e-05/0.8206, allocations: 308.8 kB / 0.7354 GB, free: 154 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/0.8247, allocations: 2.295 MB / 0.7377 GB, free: 154 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004625/0.8293, allocations: 6.56 MB / 0.7441 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007462/0.8368, allocations: 9.51 MB / 0.7534 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.971e-05/0.8369, allocations: 41.69 kB / 0.7534 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01249/0.8494, allocations: 9.596 MB / 0.7628 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.8495, allocations: 68 kB / 0.7629 GB, free: 135 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.24e-05/0.8495, allocations: 152 kB / 0.763 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002568/0.8521, allocations: 1.226 MB / 0.7642 GB, free: 134 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.8559, allocations: 1.558 MB / 0.7657 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007373/0.8633, allocations: 8.474 MB / 0.774 GB, free: 124.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/0.8674, allocations: 364.4 kB / 0.7743 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004525/0.8679, allocations: 431.9 kB / 0.7748 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.002708/0.8706, allocations: 2.459 MB / 0.7772 GB, free: 121.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006257/0.8712, allocations: 475.2 kB / 0.7776 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/0.876, allocations: 3.376 MB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.8761, allocations: 7.969 kB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8761, allocations: 8 kB / 0.7809 GB, free: 118.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001121/0.8772, allocations: 0.5419 MB / 0.7815 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005848/0.8778, allocations: 24 kB / 0.7815 GB, free: 117.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/0.8792, allocations: 91.88 kB / 0.7816 GB, free: 117.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/0.8795, allocations: 104.8 kB / 0.7817 GB, free: 117.6 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005692/0.8852, allocations: 3.908 MB / 0.7855 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004494/0.8896, allocations: 4.925 MB / 0.7903 GB, free: 108.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001061/0.8907, allocations: 1.12 MB / 0.7914 GB, free: 107.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004121/0.8948, allocations: 3.568 MB / 0.7949 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of Backend: time 2.91e-07/0.8948, allocations: 0 / 0.7949 GB, free: 104.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008101/0.9029, allocations: 4.544 MB / 0.7993 GB, free: 99.62 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01307/0.916, allocations: 11.37 MB / 0.8104 GB, free: 88.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.07744/0.9934, allocations: 56.03 MB / 0.8651 GB, free: 32.44 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 6.954059676732868]