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.001458/0.001458, allocations: 103.3 kB / 16.27 MB, free: 6.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001644, allocations: 181 kB / 17.19 MB, free: 5.727 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.568/1.568, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2276/0.2276, allocations: 43.52 MB / 313.9 MB, free: 0.5312 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.001498/0.001498, allocations: 74.44 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1293, allocations: 57.78 MB / 440.5 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.02525/0.1546, allocations: 14.23 MB / 454.7 MB, free: 8.609 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01771/0.1723, allocations: 4.657 MB / 459.4 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.1765, allocations: 91.75 kB / 459.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0131/0.1897, allocations: 3.784 MB / 463.3 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01276/0.2025, allocations: 2.416 MB / 465.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005168/0.2077, allocations: 1.002 MB / 466.7 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01544/0.2232, allocations: 6.018 MB / 472.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01054/0.2338, allocations: 4.753 MB / 477.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006278/0.2401, allocations: 2.118 MB / 479.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005476/0.2456, allocations: 2.885 MB / 482.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002049/0.2477, allocations: 460 kB / 482.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004451/0.2522, allocations: 1.479 MB / 484.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004675/0.2569, allocations: 2.689 MB / 487.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006405/0.2633, allocations: 3.022 MB / 490.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0137/0.277, allocations: 9.338 MB / 499.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.2771, allocations: 0 / 499.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.59e-06/0.2771, allocations: 0 / 499.4 MB, free: 11.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004195/0.2775, allocations: 7.938 kB / 499.5 MB, free: 11.71 MB / 382.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.0176/0.2951, allocations: 6.542 MB / 0.4941 GB, free: 5.094 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2952, allocations: 11.89 kB / 0.4941 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/0.3094, allocations: 2.66 MB / 0.4967 GB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01063/0.32, allocations: 4 MB / 0.5006 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003531/0.3204, allocations: 312.2 kB / 0.5009 GB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001906/0.3224, allocations: 423.4 kB / 0.5014 GB, free: 13.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02749/0.3499, allocations: 13 MB / 0.514 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003142/0.3502, allocations: 55.47 kB / 0.5141 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001531/0.3518, allocations: 195.8 kB / 0.5143 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004435/0.3562, allocations: 2.507 MB / 0.5167 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02418/0.3804, allocations: 10.84 MB / 0.5273 GB, free: 2.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/0.7216, allocations: 50.15 MB / 0.5763 GB, free: 45.44 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.7321, allocations: 4.548 MB / 0.5807 GB, free: 42.86 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003431/0.7355, allocations: 2.455 MB / 0.5831 GB, free: 41.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01157/0.7471, allocations: 6.74 MB / 0.5897 GB, free: 35.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.7472, allocations: 51.64 kB / 0.5898 GB, free: 35.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 4.258e-06/0.7472, allocations: 4 kB / 0.5898 GB, free: 35.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=195): time 0.04524/0.7925, allocations: 19.41 MB / 0.6087 GB, free: 16.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/0.7926, allocations: 227.1 kB / 0.6089 GB, free: 16.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00744/0.8, allocations: 5.921 MB / 0.6147 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000499/0.8005, allocations: 49.7 kB / 0.6148 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/0.8026, allocations: 4.063 MB / 0.6187 GB, free: 6.004 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009407/0.8036, allocations: 0.7747 MB / 0.6195 GB, free: 5.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001769/0.8053, allocations: 1.525 MB / 0.621 GB, free: 3.703 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.346e-05/0.8054, allocations: 309.1 kB / 0.6213 GB, free: 3.398 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003138/0.8086, allocations: 2.634 MB / 0.6239 GB, free: 0.7617 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008595/0.8172, allocations: 7.163 MB / 0.6309 GB, free: 7.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/0.8318, allocations: 10.52 MB / 0.6411 GB, free: 10.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002525/0.8322, allocations: 48 kB / 0.6412 GB, free: 10.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02409/0.8563, allocations: 10.57 MB / 0.6515 GB, free: 15.99 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.8565, allocations: 72 kB / 0.6516 GB, free: 15.92 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003528/0.8569, allocations: 160 kB / 0.6517 GB, free: 15.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/0.8604, allocations: 1.243 MB / 0.6529 GB, free: 14.51 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006147/0.8666, allocations: 1.719 MB / 0.6546 GB, free: 12.79 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01086/0.8774, allocations: 8.5 MB / 0.6629 GB, free: 4.012 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006723/0.8842, allocations: 399.4 kB / 0.6633 GB, free: 3.621 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001619/0.8858, allocations: 458.1 kB / 0.6637 GB, free: 3.176 MB / 462.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 (918): * Single equations (assignments): 911 * 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%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006331/0.8922, allocations: 2.702 MB / 0.6664 GB, free: 472 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001432/0.8936, allocations: 489.8 kB / 0.6668 GB, free: 15.97 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008753/0.9024, allocations: 4.037 MB / 0.6708 GB, free: 11.91 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.234e-05/0.9025, allocations: 23.98 kB / 0.6708 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.803e-05/0.9025, allocations: 11.94 kB / 0.6708 GB, free: 11.88 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.101e-05/0.9025, allocations: 7.969 kB / 0.6708 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02346/0.926, allocations: 9.562 MB / 0.6802 GB, free: 2.238 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/0.9261, allocations: 4 kB / 0.6802 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/0.9277, allocations: 323.5 kB / 0.6805 GB, free: 1.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002775/0.9305, allocations: 1.005 MB / 0.6814 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002126/0.9307, allocations: 36 kB / 0.6815 GB, free: 0.8711 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009093/0.9398, allocations: 7.829 MB / 0.6891 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.9398, allocations: 3.828 kB / 0.6891 GB, free: 8.77 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/0.9511, allocations: 6.888 MB / 0.6959 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002453/0.9535, allocations: 0.8383 MB / 0.6967 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001355/0.9549, allocations: 36 kB / 0.6967 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003353/0.9583, allocations: 111.8 kB / 0.6968 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004515/0.9588, allocations: 120.9 kB / 0.6969 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/0.9589, allocations: 55.98 kB / 0.697 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00716/0.9661, allocations: 3.782 MB / 0.7007 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.51e-07/0.9661, allocations: 0 / 0.7007 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007495/0.9736, allocations: 1.299 MB / 0.7019 GB, free: 11.57 MB / 0.4981 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 (154): * Single equations (assignments): 149 * 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.0005297/0.9742, allocations: 161.7 kB / 0.7021 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01345/0.9876, allocations: 6.949 MB / 0.7089 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/0.9877, allocations: 0 / 0.7089 GB, free: 4.496 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.9911, allocations: 1.919 MB / 0.7108 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005314/0.9965, allocations: 0.6289 MB / 0.7114 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.02, allocations: 12.18 MB / 0.7233 GB, free: 5.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005098/1.025, allocations: 4.127 MB / 0.7273 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.2499/1.275, allocations: 2.316 MB / 0.7296 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/1.277, allocations: 316.5 kB / 0.7299 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.483e-06/1.277, allocations: 0 / 0.7299 GB, free: 172.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.09754/1.374, allocations: 49.25 MB / 0.778 GB, free: 145.8 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (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) 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches