Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001344/0.001344, allocations: 111.1 kB / 20.44 MB, free: 1.203 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.00149/0.00149, allocations: 207.1 kB / 23.72 MB, free: 4.184 MB / 14.72 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 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.2314/0.2314, allocations: 44.94 MB / 358.8 MB, free: 6.066 MB / 286.1 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.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002112/0.002112, allocations: 71.91 kB / 0.493 GB, free: 10.55 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3443, allocations: 65.47 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.01092/0.3552, allocations: 8.413 MB / 0.5652 GB, free: 15.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.361, allocations: 2.779 MB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009846/0.362, allocations: 55.81 kB / 0.5679 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.3659, allocations: 1.939 MB / 0.5698 GB, free: 10.3 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.3686, allocations: 1.14 MB / 0.571 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3692, allocations: 279.5 kB / 0.5712 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003072/0.3723, allocations: 2.325 MB / 0.5735 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002286/0.3746, allocations: 1.742 MB / 0.5752 GB, free: 4.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.3759, allocations: 0.8878 MB / 0.5761 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001651/0.3775, allocations: 1.172 MB / 0.5772 GB, free: 2.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.3779, allocations: 196 kB / 0.5774 GB, free: 2.512 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.379, allocations: 0.6123 MB / 0.578 GB, free: 1.898 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.3801, allocations: 1.13 MB / 0.5791 GB, free: 0.7656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001139/0.3812, allocations: 0.951 MB / 0.58 GB, free: 15.8 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005399/0.3866, allocations: 4.342 MB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3866, allocations: 4 kB / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3866, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001205/0.3867, allocations: 0 / 0.5843 GB, free: 11.45 MB / 430.1 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.005676/0.3924, allocations: 2.862 MB / 0.5871 GB, free: 8.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/0.3925, allocations: 8.031 kB / 0.5871 GB, free: 8.531 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006032/0.3931, allocations: 487 kB / 0.5875 GB, free: 8.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/0.3982, allocations: 1.578 MB / 0.5891 GB, free: 6.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003207/0.4014, allocations: 1.286 MB / 0.5903 GB, free: 5.148 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.4016, allocations: 155.7 kB / 0.5905 GB, free: 4.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004083/0.402, allocations: 183.9 kB / 0.5907 GB, free: 4.816 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0102/0.4122, allocations: 6.246 MB / 0.5968 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.211e-05/0.4122, allocations: 11.88 kB / 0.5968 GB, free: 14.29 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.4125, allocations: 87.91 kB / 0.5968 GB, free: 14.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002187/0.4147, allocations: 1.34 MB / 0.5982 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0105/0.4252, allocations: 5.322 MB / 0.6034 GB, free: 7.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03729/0.4624, allocations: 19.02 MB / 0.6219 GB, free: 3.922 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007871/0.4703, allocations: 1.557 MB / 0.6234 GB, free: 2.348 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.4721, allocations: 0.635 MB / 0.6241 GB, free: 1.703 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01102/0.4831, allocations: 2.895 MB / 0.6269 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.4832, allocations: 35 kB / 0.6269 GB, free: 14.74 MB / 478.1 MB Notification: Performance of pre-optimization done (n=78): time 6.532e-06/0.4832, allocations: 4 kB / 0.6269 GB, free: 14.74 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.01041/0.4936, allocations: 1.982 MB / 0.6289 GB, free: 12.75 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.25e-05/0.4937, allocations: 59.78 kB / 0.6289 GB, free: 12.68 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00528/0.4989, allocations: 2.058 MB / 0.6309 GB, free: 10.61 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001592/0.4991, allocations: 33.7 kB / 0.631 GB, free: 10.57 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002475/0.5016, allocations: 1.907 MB / 0.6328 GB, free: 8.645 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006692/0.5022, allocations: 329.5 kB / 0.6331 GB, free: 8.32 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.5036, allocations: 0.6156 MB / 0.6337 GB, free: 7.695 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000303/0.5039, allocations: 361.9 kB / 0.6341 GB, free: 7.336 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.5064, allocations: 0.8881 MB / 0.635 GB, free: 6.445 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004878/0.5112, allocations: 2.747 MB / 0.6376 GB, free: 2.766 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005359/0.5166, allocations: 3.97 MB / 0.6415 GB, free: 13.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-05/0.5166, allocations: 20 kB / 0.6415 GB, free: 13.85 MB / 494.1 MB Notification: Performance of matching and sorting (n=396) (initialization): time 0.005854/0.5225, allocations: 3.535 MB / 0.645 GB, free: 10.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.311e-05/0.5225, allocations: 39.94 kB / 0.645 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-05/0.5226, allocations: 64 kB / 0.6451 GB, free: 10.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.64e-05/0.5227, allocations: 88 kB / 0.6452 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/0.5246, allocations: 0.655 MB / 0.6458 GB, free: 9.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001087/0.5247, allocations: 127.5 kB / 0.6459 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/0.5265, allocations: 429.1 kB / 0.6463 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002516/0.5268, allocations: 187.9 kB / 0.6465 GB, free: 8.734 MB / 494.1 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 (cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,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 (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.002086/0.5289, allocations: 1.35 MB / 0.6478 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.5291, allocations: 162.9 kB / 0.648 GB, free: 7.211 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004027/0.5295, allocations: 196.9 kB / 0.6482 GB, free: 7.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.5296, allocations: 11.98 kB / 0.6482 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5296, allocations: 0 / 0.6482 GB, free: 7.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.5296, allocations: 3.984 kB / 0.6482 GB, free: 7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008095/0.5377, allocations: 3.963 MB / 0.6521 GB, free: 2.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.5377, allocations: 8 kB / 0.6521 GB, free: 2.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004129/0.5381, allocations: 95.81 kB / 0.6522 GB, free: 2.801 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.5381, allocations: 8 kB / 0.6522 GB, free: 2.793 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.862e-05/0.5382, allocations: 23.94 kB / 0.6522 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.5382, allocations: 8 kB / 0.6522 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.099e-05/0.5382, allocations: 7.938 kB / 0.6522 GB, free: 2.754 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.5399, allocations: 1.247 MB / 0.6534 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004792/0.5404, allocations: 178.6 kB / 0.6536 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001792/0.5406, allocations: 27.86 kB / 0.6536 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004844/0.541, allocations: 27.94 kB / 0.6537 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5411, allocations: 55.75 kB / 0.6537 GB, free: 1.129 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.5412, allocations: 27.98 kB / 0.6537 GB, free: 1.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001873/0.5431, allocations: 1.271 MB / 0.655 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.5431, allocations: 0 / 0.655 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00246/0.5455, allocations: 0.6853 MB / 0.6556 GB, free: 15.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (54): * Single equations (assignments): 51 * 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.002223/0.5478, allocations: 1.849 MB / 0.6574 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003246/0.551, allocations: 1.956 MB / 0.6594 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/0.551, allocations: 8.25 kB / 0.6594 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006025/0.5516, allocations: 431.8 kB / 0.6598 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001295/0.5529, allocations: 234.2 kB / 0.66 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03065/0.5836, allocations: 20.88 MB / 0.6804 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.586, allocations: 1.704 MB / 0.6821 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002132/0.5881, allocations: 0.9557 MB / 0.683 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001498/0.5896, allocations: 1.034 MB / 0.684 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of SimCode: time 9.92e-07/0.5896, allocations: 0 / 0.684 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/0.6657, allocations: 32.91 MB / 0.7161 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.47/13.14, allocations: 4.062 kB / 0.7161 GB, free: 14.94 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForce2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Sensors/CutForce2/CutForce2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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: 16.226928959134966]