Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.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.001649/0.001649, 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.002117/0.002117, allocations: 212.1 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.398/1.398, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2154/0.2154, allocations: 46.89 MB / 361.1 MB, free: 4.637 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.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2") [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.002304/0.002304, allocations: 71.88 kB / 0.4968 GB, free: 7.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2943, allocations: 65.99 MB / 0.5612 GB, free: 5.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.02048/0.3148, allocations: 17.95 MB / 0.5787 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01232/0.3271, allocations: 5.684 MB / 0.5843 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003171/0.3303, allocations: 127.6 kB / 0.5844 GB, free: 13.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.3426, allocations: 6.363 MB / 0.5906 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007994/0.3506, allocations: 2.98 MB / 0.5935 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003582/0.3542, allocations: 1.587 MB / 0.5951 GB, free: 2.219 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01392/0.3681, allocations: 9.889 MB / 0.6047 GB, free: 8.309 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008398/0.3765, allocations: 5.58 MB / 0.6102 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005402/0.3819, allocations: 3.135 MB / 0.6133 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007335/0.3893, allocations: 4.533 MB / 0.6177 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.391, allocations: 0.6797 MB / 0.6183 GB, free: 10.26 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003804/0.3948, allocations: 1.736 MB / 0.62 GB, free: 8.52 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005358/0.4002, allocations: 3.935 MB / 0.6239 GB, free: 4.574 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006662/0.4068, allocations: 4.203 MB / 0.628 GB, free: 356 kB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01674/0.4236, allocations: 13.02 MB / 0.6407 GB, free: 3.273 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4236, allocations: 0 / 0.6407 GB, free: 3.273 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4236, allocations: 0 / 0.6407 GB, free: 3.273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0004382/0.424, allocations: 3.938 kB / 0.6407 GB, free: 3.27 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02241/0.4464, allocations: 9.272 MB / 0.6498 GB, free: 9.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.4465, allocations: 12.03 kB / 0.6498 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01841/0.4649, allocations: 3.541 MB / 0.6532 GB, free: 6.336 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01577/0.4807, allocations: 6.044 MB / 0.6591 GB, free: 224 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004198/0.4811, allocations: 451.8 kB / 0.6596 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001938/0.483, allocations: 0.5895 MB / 0.6601 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03313/0.5161, allocations: 17.11 MB / 0.6769 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002391/0.5164, allocations: 83.41 kB / 0.6769 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007913/0.5172, allocations: 283.8 kB / 0.6772 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005307/0.5225, allocations: 2.889 MB / 0.68 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03013/0.5526, allocations: 14.34 MB / 0.694 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5602/1.113, allocations: 64.52 MB / 0.757 GB, free: 110.3 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/1.129, allocations: 6.419 MB / 0.7633 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003695/1.133, allocations: 3.625 MB / 0.7668 GB, free: 108.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005419/1.133, allocations: 0.6539 MB / 0.7675 GB, free: 107.7 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.134, allocations: 62.59 kB / 0.7675 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=231): time 5.1e-06/1.134, allocations: 0 / 0.7675 GB, free: 107.6 MB / 0.5607 GB Notification: Performance of matching and sorting (n=255): time 0.0752/1.209, allocations: 31.76 MB / 0.7986 GB, free: 84.2 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.099e-05/1.209, allocations: 287 kB / 0.7988 GB, free: 83.86 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008537/1.217, allocations: 7.338 MB / 0.806 GB, free: 76.66 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.0006457/1.218, allocations: 61.7 kB / 0.8061 GB, free: 76.59 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.002354/1.22, allocations: 5.278 MB / 0.8112 GB, free: 71.88 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.221, allocations: 1.037 MB / 0.8122 GB, free: 70.86 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/1.223, allocations: 1.853 MB / 0.814 GB, free: 68.99 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/1.223, allocations: 301.1 kB / 0.8143 GB, free: 68.69 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003594/1.227, allocations: 3.428 MB / 0.8177 GB, free: 65.26 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005471/1.232, allocations: 8.629 MB / 0.8261 GB, free: 54.2 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.243, allocations: 12.84 MB / 0.8386 GB, free: 38.96 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/1.243, allocations: 52 kB / 0.8387 GB, free: 38.91 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1166) (initialization): time 0.02198/1.265, allocations: 13.85 MB / 0.8522 GB, free: 25.04 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001887/1.265, allocations: 84 kB / 0.8523 GB, free: 24.95 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002429/1.266, allocations: 184.2 kB / 0.8525 GB, free: 24.77 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/1.271, allocations: 2.311 MB / 0.8547 GB, free: 22.45 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006446/1.277, allocations: 2.027 MB / 0.8567 GB, free: 20.42 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01546/1.293, allocations: 16.72 MB / 0.873 GB, free: 3.156 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007076/1.3, allocations: 0.4995 MB / 0.8735 GB, free: 2.656 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001215/1.301, allocations: 0.5156 MB / 0.874 GB, free: 2.141 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 827 * Number of states: 0 () * Number of discrete variables: 74 (frameTorque4.arrow.twoHeadedArrow,frameTorque4.arrow.headAtOrigin,frameTorque3.arrow.twoHeadedArrow,frameTorque3.arrow.headAtOrigin,frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1086): * Single equations (assignments): 1079 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,14,100.0%), (1,14,100.0%), (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.005276/1.307, allocations: 3.406 MB / 0.8773 GB, free: 14.72 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001442/1.308, allocations: 0.6325 MB / 0.878 GB, free: 14.08 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/1.321, allocations: 6.429 MB / 0.8842 GB, free: 7.625 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.393e-05/1.321, allocations: 15.95 kB / 0.8843 GB, free: 7.609 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.321, allocations: 0 / 0.8843 GB, free: 7.609 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002545/1.324, allocations: 0.7075 MB / 0.8849 GB, free: 6.879 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.325, allocations: 47.98 kB / 0.885 GB, free: 6.832 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.327, allocations: 183.6 kB / 0.8852 GB, free: 6.656 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005289/1.328, allocations: 181.7 kB / 0.8853 GB, free: 6.477 MB / 0.5763 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01472/1.343, allocations: 6.859 MB / 0.892 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01265/1.355, allocations: 8.291 MB / 0.9001 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002932/1.358, allocations: 2.053 MB / 0.9021 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008433/1.367, allocations: 4.667 MB / 0.9067 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of Backend: time 4.41e-07/1.367, allocations: 4 kB / 0.9067 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01622/1.383, allocations: 6.509 MB / 0.9131 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of SimCode: time 0.03408/1.417, allocations: 16.52 MB / 0.9292 GB, free: 9.52 MB / 0.6232 GB Notification: Performance of Templates: time 0.4166/1.833, allocations: 78.41 MB / 1.006 GB, free: 260 MB / 0.6857 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.FrameTorques2.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: 8.586089798714966]