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.001411/0.001411, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.00187/0.00187, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.516/1.516, allocations: 230.3 MB / 258 MB, free: 8.203 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.2541/0.2541, allocations: 46.94 MB / 361.4 MB, free: 4.395 MB / 286.1 MB " [Timeout remaining time 179] 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.002708/0.002708, allocations: 79.86 kB / 0.4972 GB, free: 7.508 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3812, allocations: 66.04 MB / 0.5617 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01818/0.3994, allocations: 12.75 MB / 0.5741 GB, free: 7.734 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.4099, allocations: 4.548 MB / 0.5786 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002097/0.412, allocations: 103.5 kB / 0.5787 GB, free: 3.07 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007684/0.4197, allocations: 3.769 MB / 0.5823 GB, free: 15.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007305/0.427, allocations: 2.257 MB / 0.5845 GB, free: 13.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002902/0.4299, allocations: 0.9982 MB / 0.5855 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.4402, allocations: 6.058 MB / 0.5914 GB, free: 5.953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004993/0.4452, allocations: 3.261 MB / 0.5946 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005038/0.4502, allocations: 1.986 MB / 0.5966 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004876/0.4551, allocations: 2.827 MB / 0.5993 GB, free: 13.8 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008923/0.456, allocations: 408 kB / 0.5997 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002874/0.4589, allocations: 1.498 MB / 0.6012 GB, free: 11.9 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002607/0.4615, allocations: 2.485 MB / 0.6036 GB, free: 9.406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003209/0.4647, allocations: 2.703 MB / 0.6062 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.4783, allocations: 8.665 MB / 0.6147 GB, free: 13.98 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.4783, allocations: 0 / 0.6147 GB, free: 13.98 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.4783, allocations: 0 / 0.6147 GB, free: 13.98 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003315/0.4786, allocations: 0 / 0.6147 GB, free: 13.98 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.01621/0.4949, allocations: 6.092 MB / 0.6206 GB, free: 7.828 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.345e-05/0.4949, allocations: 8.031 kB / 0.6207 GB, free: 7.82 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/0.507, allocations: 2.575 MB / 0.6232 GB, free: 5.238 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009917/0.517, allocations: 3.668 MB / 0.6267 GB, free: 1.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002771/0.5172, allocations: 279.5 kB / 0.627 GB, free: 1.246 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001235/0.5185, allocations: 383.7 kB / 0.6274 GB, free: 0.8711 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02467/0.5431, allocations: 11.61 MB / 0.6387 GB, free: 4.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001943/0.5433, allocations: 55.53 kB / 0.6388 GB, free: 4.355 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005974/0.5439, allocations: 183.8 kB / 0.6389 GB, free: 4.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003985/0.5479, allocations: 2.143 MB / 0.641 GB, free: 2.031 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02118/0.5691, allocations: 9.631 MB / 0.6504 GB, free: 8.383 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06905/0.6381, allocations: 45.69 MB / 0.6951 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01112/0.6493, allocations: 3.333 MB / 0.6983 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003244/0.6525, allocations: 1.99 MB / 0.7003 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.011/0.6635, allocations: 5.633 MB / 0.7058 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.815e-05/0.6636, allocations: 55.98 kB / 0.7058 GB, free: 14.3 MB / 0.545 GB Notification: Performance of pre-optimization done (n=150): time 4.578e-06/0.6636, allocations: 0 / 0.7058 GB, free: 14.3 MB / 0.545 GB Notification: Performance of matching and sorting (n=162): time 0.05089/0.7145, allocations: 17.38 MB / 0.7228 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001836/0.7146, allocations: 226.2 kB / 0.723 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009476/0.7241, allocations: 5.636 MB / 0.7285 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000485/0.7246, allocations: 49.69 kB / 0.7286 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003551/0.7282, allocations: 3.849 MB / 0.7323 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001053/0.7292, allocations: 0.6825 MB / 0.733 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002026/0.7312, allocations: 1.424 MB / 0.7344 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.7314, allocations: 305.1 kB / 0.7347 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3394/1.071, allocations: 2.295 MB / 0.7369 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007009/1.078, allocations: 6.543 MB / 0.7433 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008478/1.086, allocations: 9.521 MB / 0.7526 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000132/1.086, allocations: 43.62 kB / 0.7526 GB, free: 139.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01523/1.102, allocations: 9.591 MB / 0.762 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001102/1.102, allocations: 72 kB / 0.7621 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001913/1.102, allocations: 148 kB / 0.7622 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00282/1.105, allocations: 1.226 MB / 0.7634 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004312/1.109, allocations: 1.56 MB / 0.7649 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007712/1.117, allocations: 8.258 MB / 0.773 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004732/1.121, allocations: 357.7 kB / 0.7733 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005858/1.122, allocations: 432 kB / 0.7737 GB, free: 124.8 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.002836/1.125, allocations: 2.468 MB / 0.7762 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006437/1.126, allocations: 478.5 kB / 0.7766 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005184/1.131, allocations: 3.381 MB / 0.7799 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.489e-05/1.131, allocations: 20 kB / 0.7799 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.796e-05/1.131, allocations: 11.94 kB / 0.7799 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/1.131, allocations: 7.969 kB / 0.78 GB, free: 118.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/1.143, allocations: 8.145 MB / 0.7879 GB, free: 110.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/1.143, allocations: 4 kB / 0.7879 GB, free: 110.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/1.144, allocations: 259.5 kB / 0.7882 GB, free: 110.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002429/1.147, allocations: 0.9968 MB / 0.7891 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/1.147, allocations: 35.92 kB / 0.7892 GB, free: 109.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007091/1.154, allocations: 7.599 MB / 0.7966 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/1.154, allocations: 4 kB / 0.7966 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007547/1.161, allocations: 5.859 MB / 0.8023 GB, free: 95.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.163, allocations: 482.8 kB / 0.8028 GB, free: 95.34 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/1.164, allocations: 35.92 kB / 0.8028 GB, free: 95.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.166, allocations: 87.89 kB / 0.8029 GB, free: 95.22 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002611/1.166, allocations: 100.7 kB / 0.803 GB, free: 95.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.166, allocations: 44 kB / 0.803 GB, free: 95.08 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005499/1.172, allocations: 3.6 MB / 0.8065 GB, free: 91.5 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.172, allocations: 0 / 0.8065 GB, free: 91.5 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006107/1.178, allocations: 1.144 MB / 0.8077 GB, free: 90.36 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.0005622/1.179, allocations: 161.5 kB / 0.8078 GB, free: 90.21 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007402/1.186, allocations: 5.337 MB / 0.813 GB, free: 84.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/1.186, allocations: 4 kB / 0.813 GB, free: 84.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.188, allocations: 1.529 MB / 0.8145 GB, free: 83.33 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004234/1.192, allocations: 0.5993 MB / 0.8151 GB, free: 82.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.211, allocations: 11.02 MB / 0.8259 GB, free: 71.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006396/1.217, allocations: 3.772 MB / 0.8296 GB, free: 67.86 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00461/1.222, allocations: 2.108 MB / 0.8316 GB, free: 65.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009507/1.223, allocations: 291.4 kB / 0.8319 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/1.223, allocations: 0 / 0.8319 GB, free: 65.46 MB / 0.5606 GB Notification: Performance of Templates: time 0.07816/1.301, allocations: 45.55 MB / 0.8764 GB, free: 20.23 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.9068737626075745]