Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008429/0.0008429, allocations: 91.67 kB / 20.68 MB, free: 3.871 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000844/0.000844, allocations: 166 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.868/0.868, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2302/0.2302, allocations: 32.79 MB / 293.5 MB, free: 1.211 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque3,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.443e-05/2.594e-05, allocations: 2.281 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque3): time 0.198/0.1981, allocations: 8.421 MB / 448 MB, free: 42.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004308/0.2024, allocations: 2.781 MB / 450.8 MB, free: 40.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.2036, allocations: 55.41 kB / 450.8 MB, free: 40.69 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002139/0.2057, allocations: 2.034 MB / 452.9 MB, free: 39.83 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.2079, allocations: 1.177 MB / 454 MB, free: 39.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005309/0.2084, allocations: 312.4 kB / 454.3 MB, free: 39.18 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.2103, allocations: 2.372 MB / 456.7 MB, free: 38.3 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00119/0.2115, allocations: 1.74 MB / 458.5 MB, free: 37.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000942/0.2125, allocations: 1.286 MB / 459.7 MB, free: 36.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008819/0.2133, allocations: 1.135 MB / 460.9 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.2135, allocations: 198 kB / 461.1 MB, free: 36.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007042/0.2142, allocations: 0.6465 MB / 461.7 MB, free: 36.48 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005074/0.2147, allocations: 1.18 MB / 462.9 MB, free: 35.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000469/0.2152, allocations: 0.7121 MB / 463.6 MB, free: 35.61 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.2184, allocations: 4.286 MB / 467.9 MB, free: 34.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.2184, allocations: 0 / 467.9 MB, free: 34.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.2184, allocations: 0 / 467.9 MB, free: 34.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.065e-05/0.2184, allocations: 3.438 kB / 467.9 MB, free: 34.13 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 975 * Number of variables: 975 Notification: Performance of Generate backend data structure: time 0.00327/0.2217, allocations: 2.826 MB / 470.7 MB, free: 32.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.2218, allocations: 11.97 kB / 470.7 MB, free: 32.4 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002951/0.222, allocations: 487.8 kB / 471.2 MB, free: 32.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002397/0.2244, allocations: 1.595 MB / 472.8 MB, free: 31.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.2259, allocations: 1.275 MB / 474.1 MB, free: 31.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.647e-05/0.226, allocations: 148.3 kB / 474.2 MB, free: 31.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001851/0.2262, allocations: 184.9 kB / 474.4 MB, free: 31.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006592/0.2328, allocations: 6.257 MB / 480.7 MB, free: 28.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.087e-05/0.2328, allocations: 13.31 kB / 480.7 MB, free: 28.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001667/0.233, allocations: 91.12 kB / 480.8 MB, free: 28.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.2345, allocations: 1.341 MB / 482.1 MB, free: 28.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008046/0.2426, allocations: 5.335 MB / 487.4 MB, free: 26.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01826/0.2608, allocations: 19.13 MB / 0.4947 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.2634, allocations: 1.575 MB / 0.4962 GB, free: 13.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005384/0.2639, allocations: 0.6377 MB / 0.4969 GB, free: 13.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003666/0.2676, allocations: 3.123 MB / 0.4999 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/0.2676, allocations: 39.06 kB / 0.4999 GB, free: 11.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=78): time 2.855e-06/0.2676, allocations: 0 / 0.4999 GB, free: 11.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=78): time 0.002911/0.2705, allocations: 2.115 MB / 0.502 GB, free: 9.395 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.2706, allocations: 63.89 kB / 0.5021 GB, free: 9.32 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.2721, allocations: 2.056 MB / 0.5041 GB, free: 7.262 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.932e-05/0.2721, allocations: 29.7 kB / 0.5041 GB, free: 7.227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004592/0.2726, allocations: 1.899 MB / 0.506 GB, free: 5.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.2727, allocations: 317.6 kB / 0.5063 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003999/0.2731, allocations: 0.6116 MB / 0.5069 GB, free: 4.371 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.2732, allocations: 365.9 kB / 0.5072 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.2739, allocations: 0.8894 MB / 0.5081 GB, free: 3.117 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.275, allocations: 2.748 MB / 0.5108 GB, free: 15.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002878/0.2779, allocations: 3.968 MB / 0.5146 GB, free: 10.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.803e-05/0.278, allocations: 20 kB / 0.5147 GB, free: 10.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.004202/0.2822, allocations: 3.534 MB / 0.5181 GB, free: 6.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.2822, allocations: 36 kB / 0.5181 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.423e-05/0.2822, allocations: 64 kB / 0.5182 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.223e-05/0.2823, allocations: 88 kB / 0.5183 GB, free: 6.801 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.2833, allocations: 0.6511 MB / 0.5189 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.707e-05/0.2834, allocations: 131.5 kB / 0.5191 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001327/0.2847, allocations: 433.2 kB / 0.5195 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.2849, allocations: 191.9 kB / 0.5196 GB, free: 5.406 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 26 (cutTorque.torqueArrow.twoHeadedArrow,cutTorque.torqueArrow.headAtOrigin,worldTorque.color[3],worldTorque.color[2],worldTorque.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (362): * Single equations (assignments): 357 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001676/0.2866, allocations: 1.346 MB / 0.521 GB, free: 4.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/0.2867, allocations: 165.1 kB / 0.5211 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000202/0.2869, allocations: 192.9 kB / 0.5213 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.287, allocations: 15.98 kB / 0.5213 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.287, allocations: 0 / 0.5213 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.287, allocations: 7.984 kB / 0.5213 GB, free: 3.676 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/0.2913, allocations: 3.932 MB / 0.5252 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.413e-06/0.2913, allocations: 8 kB / 0.5252 GB, free: 15.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.2915, allocations: 103.8 kB / 0.5253 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2915, allocations: 8 kB / 0.5253 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.769e-05/0.2916, allocations: 23.94 kB / 0.5253 GB, free: 15.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.216e-05/0.2916, allocations: 15.92 kB / 0.5253 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2916, allocations: 8.531 kB / 0.5253 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.2926, allocations: 1.252 MB / 0.5266 GB, free: 14.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.2928, allocations: 178.6 kB / 0.5267 GB, free: 13.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.747e-05/0.2929, allocations: 23.94 kB / 0.5267 GB, free: 13.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.2932, allocations: 31.91 kB / 0.5268 GB, free: 13.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.154e-05/0.2933, allocations: 55.75 kB / 0.5268 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.508e-05/0.2933, allocations: 31.98 kB / 0.5269 GB, free: 13.75 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00111/0.2944, allocations: 1.275 MB / 0.5281 GB, free: 12.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.2944, allocations: 0 / 0.5281 GB, free: 12.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001664/0.2961, allocations: 0.6852 MB / 0.5288 GB, free: 11.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * 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 (57): * Single equations (assignments): 54 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001425/0.2975, allocations: 1.87 MB / 0.5306 GB, free: 9.824 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001944/0.2994, allocations: 1.956 MB / 0.5325 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.2994, allocations: 0 / 0.5325 GB, free: 7.883 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.2998, allocations: 445.7 kB / 0.5329 GB, free: 7.449 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007471/0.3005, allocations: 226 kB / 0.5331 GB, free: 7.242 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01916/0.3197, allocations: 20.83 MB / 0.5535 GB, free: 15.86 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.3212, allocations: 1.704 MB / 0.5552 GB, free: 14.12 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001325/0.3225, allocations: 0.9573 MB / 0.5561 GB, free: 13.16 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008805/0.3234, allocations: 1.051 MB / 0.5571 GB, free: 12.11 MB / 474.7 MB Notification: Performance of SimCode: time 1.884e-06/0.3234, allocations: 0 / 0.5571 GB, free: 12.11 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04494/0.3683, allocations: 32.98 MB / 0.5893 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.522/7.891, allocations: 4.562 kB / 0.5893 GB, free: 11.54 MB / 0.4948 GB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutTorque3.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutTorque3/CutTorque3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutTorque3.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: 9.937870885245502]