Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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.001866/0.001866, allocations: 109 kB / 20.48 MB, free: 1.477 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.002236/0.002236, allocations: 207.8 kB / 23.78 MB, free: 4.688 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.556/1.556, allocations: 207.6 MB / 234.6 MB, free: 9.984 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.2421/0.2421, allocations: 44.24 MB / 331.1 MB, free: 9.523 MB / 270.1 MB " [Timeout remaining time 179] 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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="cs",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.002505/0.002505, allocations: 75.89 kB / 468.3 MB, free: 4.504 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1272, allocations: 61.04 MB / 0.5169 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01338/0.1406, allocations: 10.63 MB / 0.5273 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.1484, allocations: 3.03 MB / 0.5302 GB, free: 9.613 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.1503, allocations: 63.81 kB / 0.5303 GB, free: 9.551 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.1552, allocations: 2.029 MB / 0.5323 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004033/0.1593, allocations: 1.218 MB / 0.5335 GB, free: 6.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.1606, allocations: 295.4 kB / 0.5338 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004465/0.165, allocations: 2.454 MB / 0.5362 GB, free: 3.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00326/0.1683, allocations: 1.82 MB / 0.5379 GB, free: 1.676 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.1703, allocations: 0.9657 MB / 0.5389 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.227/0.3973, allocations: 1.368 MB / 0.5402 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.3983, allocations: 214.1 kB / 0.5404 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002291/0.4006, allocations: 0.7256 MB / 0.5411 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001946/0.4026, allocations: 1.247 MB / 0.5423 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00282/0.4054, allocations: 1.43 MB / 0.5437 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007639/0.413, allocations: 4.73 MB / 0.5484 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.413, allocations: 0 / 0.5484 GB, free: 10.62 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.413, allocations: 0 / 0.5484 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002374/0.4133, allocations: 3.531 kB / 0.5484 GB, free: 10.62 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.01014/0.4234, allocations: 3.075 MB / 0.5514 GB, free: 9.266 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4235, allocations: 9.75 kB / 0.5514 GB, free: 9.266 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001462/0.4236, allocations: 73.36 kB / 0.5514 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001657/0.4253, allocations: 0.515 MB / 0.5519 GB, free: 9.191 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006709/0.432, allocations: 1.63 MB / 0.5535 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.4358, allocations: 1.339 MB / 0.5548 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/0.436, allocations: 152.6 kB / 0.555 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001091/0.4371, allocations: 207.4 kB / 0.5552 GB, free: 8.523 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01463/0.4518, allocations: 6.778 MB / 0.5618 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-05/0.4518, allocations: 15.16 kB / 0.5618 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004653/0.4523, allocations: 94.89 kB / 0.5619 GB, free: 5.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002389/0.4547, allocations: 1.48 MB / 0.5634 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01368/0.4683, allocations: 5.809 MB / 0.569 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03525/0.5036, allocations: 21.39 MB / 0.5899 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004881/0.5085, allocations: 1.721 MB / 0.5916 GB, free: 2.977 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.5098, allocations: 0.7188 MB / 0.5923 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007738/0.5175, allocations: 3.293 MB / 0.5955 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.5175, allocations: 41.34 kB / 0.5956 GB, free: 15.44 MB / 446.1 MB Notification: Performance of pre-optimization done (n=93): time 4.869e-06/0.5175, allocations: 0 / 0.5956 GB, free: 15.44 MB / 446.1 MB Notification: Performance of matching and sorting (n=93): time 0.006828/0.5244, allocations: 2.195 MB / 0.5977 GB, free: 13.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.5244, allocations: 64 kB / 0.5978 GB, free: 13.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/0.5282, allocations: 2.035 MB / 0.5997 GB, free: 11.14 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001765/0.5284, allocations: 37.7 kB / 0.5998 GB, free: 11.09 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001938/0.5303, allocations: 2.041 MB / 0.6018 GB, free: 9.059 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006335/0.5309, allocations: 383 kB / 0.6021 GB, free: 8.688 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001265/0.5322, allocations: 0.6586 MB / 0.6028 GB, free: 8.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.5325, allocations: 361.9 kB / 0.6031 GB, free: 7.664 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.5343, allocations: 0.9666 MB / 0.6041 GB, free: 6.695 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003893/0.5382, allocations: 2.918 MB / 0.6069 GB, free: 2.836 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00617/0.5444, allocations: 4.25 MB / 0.6111 GB, free: 13.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.165e-05/0.5444, allocations: 20 kB / 0.6111 GB, free: 13.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.008689/0.5531, allocations: 3.79 MB / 0.6148 GB, free: 10.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.691e-05/0.5532, allocations: 32 kB / 0.6148 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00013/0.5533, allocations: 72 kB / 0.6149 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001189/0.5535, allocations: 88.75 kB / 0.615 GB, free: 10.32 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00321/0.5567, allocations: 0.7173 MB / 0.6157 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001705/0.5568, allocations: 135.5 kB / 0.6158 GB, free: 9.469 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003141/0.56, allocations: 459.3 kB / 0.6162 GB, free: 9.023 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008557/0.5608, allocations: 199.9 kB / 0.6164 GB, free: 8.828 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 315 * Number of states: 0 () * Number of discrete variables: 24 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[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 (391): * Single equations (assignments): 386 * 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.004067/0.5649, allocations: 1.428 MB / 0.6178 GB, free: 7.387 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004621/0.5654, allocations: 182.8 kB / 0.618 GB, free: 7.207 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00268/0.568, allocations: 1.186 MB / 0.6192 GB, free: 6.004 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.251e-05/0.5681, allocations: 18.98 kB / 0.6192 GB, free: 5.988 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.5681, allocations: 3.938 kB / 0.6192 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.5681, allocations: 3.984 kB / 0.6192 GB, free: 5.98 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01169/0.5798, allocations: 4.942 MB / 0.624 GB, free: 0.875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-05/0.5798, allocations: 13.34 kB / 0.624 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005764/0.5804, allocations: 135.7 kB / 0.6242 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.651e-05/0.5804, allocations: 12 kB / 0.6242 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.65e-05/0.5805, allocations: 35.59 kB / 0.6242 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.85e-05/0.5805, allocations: 15.94 kB / 0.6242 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.187e-05/0.5805, allocations: 15.94 kB / 0.6242 GB, free: 0.6562 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.5828, allocations: 1.52 MB / 0.6257 GB, free: 15 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005433/0.5833, allocations: 202.5 kB / 0.6259 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.5835, allocations: 27.56 kB / 0.6259 GB, free: 14.78 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006607/0.5842, allocations: 35.97 kB / 0.626 GB, free: 14.74 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/0.5844, allocations: 81.48 kB / 0.626 GB, free: 14.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.5844, allocations: 36 kB / 0.6261 GB, free: 14.63 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002336/0.5868, allocations: 1.324 MB / 0.6274 GB, free: 13.28 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5868, allocations: 4 kB / 0.6274 GB, free: 13.28 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003239/0.59, allocations: 0.7623 MB / 0.6281 GB, free: 12.52 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.002848/0.5929, allocations: 2.13 MB / 0.6302 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004119/0.597, allocations: 2.163 MB / 0.6323 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.597, allocations: 0 / 0.6323 GB, free: 8.105 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.5979, allocations: 0.5125 MB / 0.6328 GB, free: 7.594 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001672/0.5995, allocations: 260.9 kB / 0.6331 GB, free: 7.355 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03959/0.6391, allocations: 22.63 MB / 0.6552 GB, free: 14 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/0.6433, allocations: 2.407 MB / 0.6575 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003153/0.6465, allocations: 1.009 MB / 0.6585 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00315/0.6496, allocations: 1.14 MB / 0.6596 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of SimCode: time 2.244e-06/0.6496, allocations: 0 / 0.6596 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08104/0.7307, allocations: 37.94 MB / 0.6967 GB, free: 3.449 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.4, allocations: 8.062 kB / 0.6967 GB, free: 3.441 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForce2.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: 20.09562909696251]