Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 95.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 174.8 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.4 MB / 222.7 MB, free: 5.668 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3211/0.3211, allocations: 43.55 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.0004894, allocations: 18.95 kB / 383.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1212, allocations: 58.86 MB / 442.7 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.234/0.3552, allocations: 63.14 MB / 0.494 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02686/0.3821, allocations: 14.52 MB / 0.5082 GB, free: 88 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01132/0.3935, allocations: 312.6 kB / 0.5085 GB, free: 40 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.4044, allocations: 3.158 MB / 0.5116 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02909/0.4336, allocations: 9.094 MB / 0.5205 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003526/0.4371, allocations: 0.778 MB / 0.5212 GB, free: 10.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03895/0.4761, allocations: 26.94 MB / 0.5475 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008797/0.4849, allocations: 5.698 MB / 0.5531 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/0.4876, allocations: 1.398 MB / 0.5545 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.4903, allocations: 1.873 MB / 0.5563 GB, free: 11.77 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006971/0.4911, allocations: 192 kB / 0.5565 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.4934, allocations: 1.065 MB / 0.5575 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002236/0.4957, allocations: 2.194 MB / 0.5597 GB, free: 8.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001266/0.4969, allocations: 1.127 MB / 0.5608 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007652/0.5046, allocations: 7.544 MB / 0.5681 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.5046, allocations: 4 kB / 0.5681 GB, free: 15.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5046, allocations: 4 kB / 0.5681 GB, free: 15.61 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002046/0.5049, allocations: 0 / 0.5681 GB, free: 15.61 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: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01187/0.5167, allocations: 5.755 MB / 0.5738 GB, free: 9.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5168, allocations: 8.562 kB / 0.5738 GB, free: 9.77 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04117/0.558, allocations: 8.102 MB / 0.5817 GB, free: 1.648 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008721/0.5667, allocations: 4.288 MB / 0.5859 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/0.567, allocations: 307.8 kB / 0.5862 GB, free: 12.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009518/0.5679, allocations: 415.7 kB / 0.5866 GB, free: 12.57 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02066/0.5886, allocations: 12.98 MB / 0.5992 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.5888, allocations: 63.45 kB / 0.5993 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005616/0.5894, allocations: 195.8 kB / 0.5995 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003867/0.5933, allocations: 2.503 MB / 0.6019 GB, free: 11.93 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.6134, allocations: 10.67 MB / 0.6124 GB, free: 1.246 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2353/0.8488, allocations: 49.84 MB / 0.661 GB, free: 106.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009613/0.8584, allocations: 4.44 MB / 0.6654 GB, free: 105.6 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009761/0.8682, allocations: 6.577 MB / 0.6718 GB, free: 103.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.8683, allocations: 53.66 kB / 0.6718 GB, free: 103 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 4.308e-06/0.8683, allocations: 3.469 kB / 0.6718 GB, free: 103 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.04072/0.909, allocations: 17.92 MB / 0.6893 GB, free: 95.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.26e-05/0.9092, allocations: 232.9 kB / 0.6896 GB, free: 94.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01003/0.9192, allocations: 6.148 MB / 0.6956 GB, free: 92.81 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004691/0.9197, allocations: 56.58 kB / 0.6956 GB, free: 92.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002621/0.9224, allocations: 4.118 MB / 0.6996 GB, free: 89.57 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009585/0.9233, allocations: 0.7701 MB / 0.7004 GB, free: 89.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002688/0.9236, allocations: 140.9 kB / 0.7005 GB, free: 88.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003256/0.9239, allocations: 0.6148 MB / 0.7011 GB, free: 88.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003169/0.9271, allocations: 2.391 MB / 0.7035 GB, free: 87.72 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004597/0.9317, allocations: 6.877 MB / 0.7102 GB, free: 80.83 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004207/0.9359, allocations: 3.954 MB / 0.714 GB, free: 79.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.467e-05/0.936, allocations: 50.69 kB / 0.7141 GB, free: 79.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=942) (initialization): time 0.01322/0.9492, allocations: 9.525 MB / 0.7234 GB, free: 75.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.9494, allocations: 78.12 kB / 0.7235 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001982/0.9496, allocations: 157.3 kB / 0.7236 GB, free: 75.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/0.9511, allocations: 0.7591 MB / 0.7244 GB, free: 75.37 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004592/0.9557, allocations: 1.663 MB / 0.726 GB, free: 74.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005812/0.9615, allocations: 6.595 MB / 0.7324 GB, free: 67.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005988/0.9675, allocations: 387.6 kB / 0.7328 GB, free: 66.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009475/0.9685, allocations: 451.9 kB / 0.7332 GB, free: 66.43 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (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 (880): * Single equations (assignments): 873 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004293/0.9728, allocations: 2.691 MB / 0.7358 GB, free: 63.73 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00116/0.974, allocations: 493.5 kB / 0.7363 GB, free: 63.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005034/0.979, allocations: 3.285 MB / 0.7395 GB, free: 59.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.9791, allocations: 24 kB / 0.7395 GB, free: 59.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.9791, allocations: 11.95 kB / 0.7396 GB, free: 59.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.63e-05/0.9791, allocations: 11.95 kB / 0.7396 GB, free: 59.89 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01555/0.9947, allocations: 8.847 MB / 0.7482 GB, free: 50.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.785e-05/0.9947, allocations: 4 kB / 0.7482 GB, free: 50.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001482/0.9962, allocations: 327.5 kB / 0.7485 GB, free: 50.66 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/0.9975, allocations: 0.4943 MB / 0.749 GB, free: 50.16 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001708/0.9976, allocations: 39.94 kB / 0.749 GB, free: 50.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004956/1.003, allocations: 5.892 MB / 0.7548 GB, free: 43.97 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.003, allocations: 4 kB / 0.7548 GB, free: 43.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006773/1.009, allocations: 6.469 MB / 0.7611 GB, free: 37.31 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002338/1.012, allocations: 0.8265 MB / 0.7619 GB, free: 36.46 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.013, allocations: 41.11 kB / 0.762 GB, free: 36.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002258/1.015, allocations: 99.88 kB / 0.7621 GB, free: 36.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/1.015, allocations: 117 kB / 0.7622 GB, free: 36.21 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.016, allocations: 55.03 kB / 0.7622 GB, free: 36.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005727/1.021, allocations: 3.972 MB / 0.7661 GB, free: 32.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.81e-07/1.021, allocations: 0 / 0.7661 GB, free: 32.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006409/1.028, allocations: 1.255 MB / 0.7673 GB, free: 30.97 MB / 494.1 MB 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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005538/1.028, allocations: 183 kB / 0.7675 GB, free: 30.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007499/1.036, allocations: 5.879 MB / 0.7732 GB, free: 24.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.036, allocations: 4 kB / 0.7733 GB, free: 24.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001885/1.038, allocations: 1.778 MB / 0.775 GB, free: 23.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003135/1.041, allocations: 0.5995 MB / 0.7756 GB, free: 22.51 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01881/1.06, allocations: 13.84 MB / 0.7891 GB, free: 8.613 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003831/1.064, allocations: 4.248 MB / 0.7932 GB, free: 4.332 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004898/1.069, allocations: 2.323 MB / 0.7955 GB, free: 2.004 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008026/1.069, allocations: 323.4 kB / 0.7958 GB, free: 1.691 MB / 494.1 MB Notification: Performance of SimCode: time 1.232e-06/1.069, allocations: 3.938 kB / 0.7958 GB, free: 1.688 MB / 494.1 MB Notification: Performance of Templates: time 0.2589/1.328, allocations: 44.69 MB / 0.8395 GB, free: 147.5 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches