Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.001848/0.001848, allocations: 104.3 kB / 19.7 MB, free: 1.934 MB / 14.72 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.001729/0.001729, allocations: 216.6 kB / 22.99 MB, free: 4.973 MB / 14.72 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 1.424/1.424, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.2161/0.2161, allocations: 44.26 MB / 330.3 MB, free: 9.305 MB / 270.1 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.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002493/0.002493, allocations: 71.84 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1107, allocations: 61.04 MB / 0.5161 GB, free: 7.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutTorque2): time 0.01345/0.1242, allocations: 9.689 MB / 0.5256 GB, free: 13.44 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007388/0.1316, allocations: 2.921 MB / 0.5285 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.1335, allocations: 63.81 kB / 0.5285 GB, free: 10.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004352/0.1378, allocations: 1.955 MB / 0.5304 GB, free: 8.488 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003219/0.141, allocations: 1.249 MB / 0.5317 GB, free: 7.234 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.1418, allocations: 291.4 kB / 0.5319 GB, free: 6.949 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003844/0.1457, allocations: 2.493 MB / 0.5344 GB, free: 4.449 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003547/0.1492, allocations: 1.836 MB / 0.5362 GB, free: 2.566 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.1515, allocations: 0.9851 MB / 0.5371 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002455/0.154, allocations: 1.324 MB / 0.5384 GB, free: 256 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006885/0.1547, allocations: 223.9 kB / 0.5386 GB, free: 32 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2358/0.3905, allocations: 0.6165 MB / 0.5392 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001728/0.3922, allocations: 1.267 MB / 0.5405 GB, free: 12.94 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00154/0.3938, allocations: 1.072 MB / 0.5415 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006353/0.4001, allocations: 4.873 MB / 0.5463 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4001, allocations: 0 / 0.5463 GB, free: 11.82 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4001, allocations: 0 / 0.5463 GB, free: 11.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001674/0.4003, allocations: 0 / 0.5463 GB, free: 11.82 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1095 * Number of variables: 1095 Notification: Performance of Generate backend data structure: time 0.008051/0.4083, allocations: 3.16 MB / 0.5494 GB, free: 10.44 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.4084, allocations: 8.531 kB / 0.5494 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001131/0.4095, allocations: 0.5216 MB / 0.5499 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/0.4156, allocations: 1.64 MB / 0.5515 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003994/0.4195, allocations: 1.374 MB / 0.5528 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.4197, allocations: 159.5 kB / 0.553 GB, free: 9.789 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005739/0.4203, allocations: 211.4 kB / 0.5532 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.4327, allocations: 6.973 MB / 0.56 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.654e-05/0.4327, allocations: 15.56 kB / 0.56 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002909/0.433, allocations: 98.22 kB / 0.5601 GB, free: 7.234 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002263/0.4353, allocations: 1.521 MB / 0.5616 GB, free: 6.977 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.4464, allocations: 5.934 MB / 0.5674 GB, free: 5.172 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/0.4786, allocations: 20.98 MB / 0.5879 GB, free: 6.082 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/0.4828, allocations: 1.663 MB / 0.5895 GB, free: 5.297 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/0.4839, allocations: 0.7379 MB / 0.5902 GB, free: 4.934 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0072/0.4911, allocations: 3.346 MB / 0.5935 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/0.4912, allocations: 39.12 kB / 0.5935 GB, free: 2.164 MB / 430.1 MB Notification: Performance of pre-optimization done (n=96): time 4.388e-06/0.4912, allocations: 0 / 0.5935 GB, free: 2.164 MB / 430.1 MB Notification: Performance of matching and sorting (n=96): time 0.006168/0.4973, allocations: 2.269 MB / 0.5957 GB, free: 15.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.4974, allocations: 59.03 kB / 0.5958 GB, free: 15.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.501, allocations: 2.181 MB / 0.5979 GB, free: 13.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/0.5011, allocations: 37.7 kB / 0.5979 GB, free: 13.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.5029, allocations: 2.09 MB / 0.6 GB, free: 11.46 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005705/0.5034, allocations: 397.3 kB / 0.6004 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001066/0.5045, allocations: 0.6741 MB / 0.601 GB, free: 10.41 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002152/0.5047, allocations: 361.9 kB / 0.6014 GB, free: 10.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.5064, allocations: 0.9951 MB / 0.6023 GB, free: 9.051 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/0.5099, allocations: 2.996 MB / 0.6053 GB, free: 5.098 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00572/0.5157, allocations: 4.359 MB / 0.6095 GB, free: 48 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-05/0.5157, allocations: 24 kB / 0.6095 GB, free: 24 kB / 446.1 MB Notification: Performance of matching and sorting (n=435) (initialization): time 0.007512/0.5233, allocations: 3.892 MB / 0.6133 GB, free: 12.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.494e-05/0.5233, allocations: 36 kB / 0.6134 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.178e-05/0.5234, allocations: 68 kB / 0.6134 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001025/0.5235, allocations: 96 kB / 0.6135 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00233/0.5258, allocations: 0.7259 MB / 0.6142 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000122/0.526, allocations: 139.4 kB / 0.6144 GB, free: 11.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002198/0.5282, allocations: 472.5 kB / 0.6148 GB, free: 10.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.5285, allocations: 206.2 kB / 0.615 GB, free: 10.75 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 322 * Number of states: 0 () * Number of discrete variables: 24 (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 (401): * Single equations (assignments): 396 * 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.002391/0.5308, allocations: 1.472 MB / 0.6165 GB, free: 9.273 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/0.5311, allocations: 182.7 kB / 0.6166 GB, free: 9.094 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002037/0.5332, allocations: 1.245 MB / 0.6178 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.5332, allocations: 11.05 kB / 0.6179 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.5332, allocations: 0 / 0.6179 GB, free: 7.828 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.5332, allocations: 3.984 kB / 0.6179 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00829/0.5415, allocations: 4.891 MB / 0.6226 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.5415, allocations: 16.91 kB / 0.6227 GB, free: 2.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005678/0.5421, allocations: 135.8 kB / 0.6228 GB, free: 2.613 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.5421, allocations: 16 kB / 0.6228 GB, free: 2.598 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.411e-05/0.5422, allocations: 28 kB / 0.6228 GB, free: 2.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.702e-05/0.5422, allocations: 19.92 kB / 0.6228 GB, free: 2.551 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.955e-05/0.5422, allocations: 15.94 kB / 0.6229 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/0.5443, allocations: 1.595 MB / 0.6244 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004311/0.5447, allocations: 206.5 kB / 0.6246 GB, free: 0.5898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5449, allocations: 23.98 kB / 0.6246 GB, free: 0.5664 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.5455, allocations: 39.97 kB / 0.6247 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.5456, allocations: 79.66 kB / 0.6248 GB, free: 460 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.349e-05/0.5457, allocations: 37.88 kB / 0.6248 GB, free: 424 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002081/0.5478, allocations: 1.348 MB / 0.6261 GB, free: 15.04 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5478, allocations: 0 / 0.6261 GB, free: 15.04 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00277/0.5506, allocations: 0.7864 MB / 0.6269 GB, free: 14.25 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * 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 (76): * Single equations (assignments): 73 * 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.002632/0.5532, allocations: 2.209 MB / 0.629 GB, free: 11.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003733/0.5569, allocations: 2.213 MB / 0.6312 GB, free: 9.703 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.5569, allocations: 7.938 kB / 0.6312 GB, free: 9.695 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008001/0.5577, allocations: 0.5299 MB / 0.6317 GB, free: 9.168 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001475/0.5592, allocations: 267.6 kB / 0.632 GB, free: 8.918 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03406/0.5933, allocations: 23.24 MB / 0.6547 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002777/0.596, allocations: 1.896 MB / 0.6565 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002401/0.5984, allocations: 1.049 MB / 0.6575 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001603/0.6, allocations: 1.167 MB / 0.6587 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of SimCode: time 1.253e-06/0.6, allocations: 0 / 0.6587 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.074/0.6741, allocations: 36.17 MB / 0.694 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.63, allocations: 3.938 kB / 0.694 GB, free: 6.539 MB / 0.5294 GB " [Timeout remaining time 646] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutTorque2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutTorque2/CutTorque2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutTorque2.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.78772817319259]