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.0007271/0.0007271, 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.0008057/0.0008057, allocations: 170.3 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.8633/0.8633, allocations: 158.6 MB / 185 MB, free: 3.047 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.1278/0.1278, 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.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 406.8 MB, free: 2.25 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/2.01e-05, allocations: 6.281 kB / 406.8 MB, free: 2.242 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.007487/0.007507, allocations: 9.28 MB / 416.1 MB, free: 8.914 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.005285/0.01279, allocations: 2.866 MB / 419 MB, free: 6.039 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.01412, allocations: 59.81 kB / 419 MB, free: 5.98 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002276/0.01639, allocations: 2.052 MB / 421.1 MB, free: 3.922 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.01877, allocations: 1.252 MB / 422.3 MB, free: 2.664 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.01928, allocations: 323.2 kB / 422.7 MB, free: 2.348 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.002281/0.02157, allocations: 2.488 MB / 425.1 MB, free: 15.85 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.02312, allocations: 1.836 MB / 427 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.02445, allocations: 1.391 MB / 428.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.02585, allocations: 1.258 MB / 429.6 MB, free: 11.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.02615, allocations: 212 kB / 429.8 MB, free: 11.11 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008036/0.02695, allocations: 0.6474 MB / 430.5 MB, free: 10.46 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008257/0.02778, allocations: 1.293 MB / 431.8 MB, free: 9.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00061/0.02839, allocations: 0.7864 MB / 432.6 MB, free: 8.371 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.03186, allocations: 4.684 MB / 437.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.03186, allocations: 0 / 437.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.03186, allocations: 0 / 437.3 MB, free: 3.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.528e-05/0.03195, allocations: 3.938 kB / 437.3 MB, free: 3.668 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: 1061 * Number of variables: 1061 Notification: Performance of Generate backend data structure: time 0.003603/0.03555, allocations: 3.054 MB / 440.3 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.0356, allocations: 8.031 kB / 440.3 MB, free: 0.5586 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000436/0.03603, allocations: 0.5169 MB / 440.8 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004233/0.04027, allocations: 1.647 MB / 442.5 MB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002681/0.04295, allocations: 1.344 MB / 443.8 MB, free: 13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.04307, allocations: 160.3 kB / 444 MB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004743/0.04354, allocations: 204.2 kB / 444.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008219/0.05176, allocations: 6.782 MB / 451 MB, free: 5.535 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.999e-05/0.0518, allocations: 15.88 kB / 451 MB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001957/0.052, allocations: 91.89 kB / 451.1 MB, free: 5.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.0533, allocations: 1.485 MB / 452.6 MB, free: 3.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007458/0.06076, allocations: 5.79 MB / 458.3 MB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1763/0.237, allocations: 20.42 MB / 478.8 MB, free: 85.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.2397, allocations: 1.794 MB / 480.6 MB, free: 85.29 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005934/0.2403, allocations: 0.7185 MB / 481.3 MB, free: 85.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003505/0.2438, allocations: 3.211 MB / 484.5 MB, free: 84.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.794e-05/0.2438, allocations: 46.25 kB / 484.5 MB, free: 84.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=93): time 2.826e-06/0.2438, allocations: 0.6562 kB / 484.5 MB, free: 84.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.003097/0.2469, allocations: 2.334 MB / 486.9 MB, free: 83.45 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.2469, allocations: 61.69 kB / 486.9 MB, free: 83.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00171/0.2486, allocations: 2.146 MB / 489.1 MB, free: 82.61 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.2487, allocations: 36.86 kB / 489.1 MB, free: 82.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006241/0.2493, allocations: 2.022 MB / 491.1 MB, free: 81.24 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001658/0.2495, allocations: 378.2 kB / 491.5 MB, free: 80.97 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/0.2499, allocations: 0.6491 MB / 492.2 MB, free: 80.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.589e-05/0.25, allocations: 365 kB / 492.5 MB, free: 80.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008151/0.2508, allocations: 0.9663 MB / 493.5 MB, free: 80.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.2521, allocations: 2.923 MB / 496.4 MB, free: 77.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00245/0.2545, allocations: 4.243 MB / 0.4889 GB, free: 73.62 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.89e-05/0.2545, allocations: 19.28 kB / 0.4889 GB, free: 73.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=425) (initialization): time 0.003491/0.258, allocations: 3.793 MB / 0.4926 GB, free: 72.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.2581, allocations: 37.78 kB / 0.4927 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.674e-05/0.2581, allocations: 73.25 kB / 0.4927 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.123e-05/0.2582, allocations: 92.12 kB / 0.4928 GB, free: 72.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.2594, allocations: 0.705 MB / 0.4935 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.905e-05/0.2595, allocations: 143.5 kB / 0.4936 GB, free: 72.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.2608, allocations: 456.8 kB / 0.4941 GB, free: 71.75 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003033/0.2612, allocations: 202.1 kB / 0.4943 GB, free: 71.73 MB / 442.7 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.002118/0.2633, allocations: 1.429 MB / 0.4957 GB, free: 71.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002773/0.2635, allocations: 181.2 kB / 0.4958 GB, free: 70.95 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.265, allocations: 1.186 MB / 0.497 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.2651, allocations: 14.5 kB / 0.497 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.2651, allocations: 1.125 kB / 0.497 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.2651, allocations: 3.281 kB / 0.497 GB, free: 70.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.2706, allocations: 4.869 MB / 0.5018 GB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.191e-05/0.2706, allocations: 10.25 kB / 0.5018 GB, free: 68.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.2709, allocations: 139 kB / 0.5019 GB, free: 68.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/0.2709, allocations: 12.34 kB / 0.5019 GB, free: 68.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.2709, allocations: 24.88 kB / 0.502 GB, free: 68.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-05/0.2709, allocations: 19.94 kB / 0.502 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.2709, allocations: 14.5 kB / 0.502 GB, free: 68.53 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.2722, allocations: 1.495 MB / 0.5034 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002655/0.2725, allocations: 213.2 kB / 0.5037 GB, free: 67.51 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.2726, allocations: 25.17 kB / 0.5037 GB, free: 67.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.2729, allocations: 35.67 kB / 0.5037 GB, free: 67.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.419e-05/0.273, allocations: 76.58 kB / 0.5038 GB, free: 67.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.2731, allocations: 38.84 kB / 0.5038 GB, free: 67.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001168/0.2742, allocations: 1.322 MB / 0.5051 GB, free: 66.97 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2742, allocations: 0 / 0.5051 GB, free: 66.97 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001991/0.2762, allocations: 0.762 MB / 0.5059 GB, free: 66.73 MB / 442.7 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.001288/0.2775, allocations: 2.121 MB / 0.5079 GB, free: 65.31 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00198/0.2795, allocations: 2.162 MB / 0.51 GB, free: 64.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2795, allocations: 0 / 0.51 GB, free: 64.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003745/0.2799, allocations: 0.5113 MB / 0.5105 GB, free: 64.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007817/0.2806, allocations: 252.6 kB / 0.5108 GB, free: 64.36 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.2989, allocations: 22.5 MB / 0.5327 GB, free: 44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/0.3003, allocations: 1.842 MB / 0.5345 GB, free: 42.62 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001213/0.3015, allocations: 1.01 MB / 0.5355 GB, free: 41.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006918/0.3022, allocations: 1.14 MB / 0.5366 GB, free: 40.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3022, allocations: 3.938 kB / 0.5366 GB, free: 40.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03894/0.3411, allocations: 35.45 MB / 0.5713 GB, free: 6.152 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.626, allocations: 11.89 kB / 0.5713 GB, free: 6.141 MB / 442.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins/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: 9.69270103983581]