Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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.0009138/0.0009138, allocations: 80.48 kB / 19.92 MB, free: 4.633 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.0009222/0.0009222, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8364/0.8364, allocations: 158.6 MB / 185 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1299/0.1299, allocations: 32.37 MB / 269.6 MB, free: 14.97 MB / 266.7 MB " [Timeout remaining time 180] 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.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.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 406.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.986e-05/2.144e-05, allocations: 10.08 kB / 406.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque): time 0.01107/0.01109, allocations: 15.58 MB / 422.4 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.007763/0.01885, allocations: 5.222 MB / 427.7 MB, free: 13.33 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001355/0.02021, allocations: 151.3 kB / 427.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006243/0.02645, allocations: 6.269 MB / 434.1 MB, free: 6.895 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006674/0.03312, allocations: 3.374 MB / 437.4 MB, free: 3.504 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002727/0.03585, allocations: 1.758 MB / 439.2 MB, free: 1.742 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.008801/0.04465, allocations: 9.626 MB / 448.8 MB, free: 8.09 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006719/0.05137, allocations: 6.766 MB / 455.6 MB, free: 1.234 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007631/0.059, allocations: 4.99 MB / 460.6 MB, free: 12.23 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005928/0.06493, allocations: 4.887 MB / 465.5 MB, free: 7.336 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.06669, allocations: 0.6797 MB / 466.1 MB, free: 6.656 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002765/0.06946, allocations: 1.483 MB / 467.6 MB, free: 5.168 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003805/0.07326, allocations: 4.356 MB / 472 MB, free: 0.8008 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.1516/0.2249, allocations: 2.629 MB / 474.6 MB, free: 60.61 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009615/0.2345, allocations: 13.81 MB / 488.4 MB, free: 59.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.2345, allocations: 0 / 488.4 MB, free: 59.88 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.2345, allocations: 0 / 488.4 MB, free: 59.88 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005477/0.2351, allocations: 1.781 kB / 488.4 MB, free: 59.88 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2935 * Number of variables: 2935 Notification: Performance of Generate backend data structure: time 0.01698/0.252, allocations: 9.923 MB / 498.3 MB, free: 56.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.2521, allocations: 9.125 kB / 498.4 MB, free: 56.17 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002723/0.2548, allocations: 1.371 MB / 499.7 MB, free: 55.74 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007507/0.2623, allocations: 3.111 MB / 0.4911 GB, free: 55.04 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009047/0.2714, allocations: 5.68 MB / 0.4966 GB, free: 52.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004099/0.2718, allocations: 472.5 kB / 0.4971 GB, free: 52.69 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/0.274, allocations: 0.6125 MB / 0.4976 GB, free: 52.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02633/0.3003, allocations: 19.62 MB / 0.5168 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001919/0.3005, allocations: 79.7 kB / 0.5169 GB, free: 44.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001026/0.3015, allocations: 294.6 kB / 0.5172 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003158/0.3047, allocations: 3.638 MB / 0.5207 GB, free: 43.28 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02275/0.3274, allocations: 15.2 MB / 0.5356 GB, free: 35.14 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06746/0.3949, allocations: 70.76 MB / 0.6047 GB, free: 11.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.4055, allocations: 5.729 MB / 0.6103 GB, free: 5.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003021/0.4085, allocations: 2.389 MB / 0.6126 GB, free: 3.445 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01452/0.423, allocations: 9.279 MB / 0.6217 GB, free: 10.26 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.423, allocations: 64.41 kB / 0.6217 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=250): time 5.19e-06/0.423, allocations: 0 / 0.6217 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=274): time 0.0308/0.4538, allocations: 18.21 MB / 0.6395 GB, free: 8.102 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.4539, allocations: 170 kB / 0.6397 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008925/0.4628, allocations: 7.926 MB / 0.6474 GB, free: 8 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004746/0.4633, allocations: 65.7 kB / 0.6475 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00328/0.4666, allocations: 5.926 MB / 0.6533 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001051/0.4676, allocations: 1.09 MB / 0.6543 GB, free: 8.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/0.4698, allocations: 1.86 MB / 0.6561 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.671e-05/0.4699, allocations: 301.1 kB / 0.6564 GB, free: 6.816 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003187/0.4731, allocations: 2.782 MB / 0.6591 GB, free: 4.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1741/0.6472, allocations: 8.656 MB / 0.6676 GB, free: 170.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.6579, allocations: 12.42 MB / 0.6797 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001839/0.6581, allocations: 60.22 kB / 0.6798 GB, free: 161.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1243) (initialization): time 0.01786/0.6759, allocations: 11.14 MB / 0.6906 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001467/0.6761, allocations: 95.27 kB / 0.6907 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003323/0.6764, allocations: 212.7 kB / 0.6909 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003415/0.6768, allocations: 275 kB / 0.6912 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005237/0.682, allocations: 2.214 MB / 0.6934 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004706/0.6825, allocations: 414.3 kB / 0.6938 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006875/0.6893, allocations: 0.7686 MB / 0.6945 GB, free: 157.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001737/0.6911, allocations: 0.5749 MB / 0.6951 GB, free: 157.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 951 * Number of states: 0 () * Number of discrete variables: 60 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1179): * Single equations (assignments): 1168 * Array equations: 11 * 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.007884/0.699, allocations: 3.763 MB / 0.6988 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001425/0.7004, allocations: 0.6178 MB / 0.6994 GB, free: 155.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/0.7046, allocations: 2.995 MB / 0.7023 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-05/0.7046, allocations: 35.27 kB / 0.7023 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7046, allocations: 0 / 0.7023 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.7046, allocations: 10.64 kB / 0.7023 GB, free: 154.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02371/0.7283, allocations: 24.96 MB / 0.7267 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-05/0.7284, allocations: 64 kB / 0.7268 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.7295, allocations: 0.6091 MB / 0.7274 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.776e-05/0.7295, allocations: 80 kB / 0.7274 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001295/0.7297, allocations: 144 kB / 0.7276 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.452e-05/0.7297, allocations: 127.5 kB / 0.7277 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-05/0.7297, allocations: 99.56 kB / 0.7278 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003927/0.7336, allocations: 5.802 MB / 0.7334 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/0.7352, allocations: 0.7921 MB / 0.7342 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006861/0.7359, allocations: 148 kB / 0.7344 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001987/0.7379, allocations: 323.5 kB / 0.7347 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002688/0.7381, allocations: 438.1 kB / 0.7351 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.7383, allocations: 176 kB / 0.7353 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.006452/0.7447, allocations: 4.858 MB / 0.74 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7447, allocations: 0 / 0.74 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007701/0.7524, allocations: 1.76 MB / 0.7417 GB, free: 122.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 288 * 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 (326): * Single equations (assignments): 323 * 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.004016/0.7564, allocations: 6.586 MB / 0.7482 GB, free: 115.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006822/0.7633, allocations: 6.319 MB / 0.7543 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.623e-05/0.7633, allocations: 12 kB / 0.7543 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.7645, allocations: 1.589 MB / 0.7559 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003815/0.7683, allocations: 0.9857 MB / 0.7568 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07791/0.8462, allocations: 79.34 MB / 0.8343 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005106/0.8513, allocations: 5.338 MB / 0.8395 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004416/0.8558, allocations: 2.931 MB / 0.8424 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003818/0.8596, allocations: 3.839 MB / 0.8462 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of SimCode: time 1.483e-06/0.8596, allocations: 0 / 0.8462 GB, free: 3.652 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2475/1.107, allocations: 109.4 MB / 0.953 GB, free: 114.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.19/14.29, allocations: 11.91 kB / 0.953 GB, free: 114.3 MB / 0.5417 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque/CutTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque.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: 16.960849017836154]