Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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.001366/0.001366, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001922/0.001922, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.439/1.439, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.2791/0.2791, allocations: 44.93 MB / 358.8 MB, free: 6.047 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.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75",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.002272/0.002272, allocations: 69.78 kB / 0.4931 GB, free: 10.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3183, allocations: 65.47 MB / 0.557 GB, free: 7.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.00364/0.322, allocations: 1.877 MB / 0.5589 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.324, allocations: 1.076 MB / 0.5599 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.671e-05/0.3241, allocations: 7.938 kB / 0.5599 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.3246, allocations: 219.4 kB / 0.5601 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.325, allocations: 227.2 kB / 0.5604 GB, free: 4.094 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.3253, allocations: 107.7 kB / 0.5605 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003307/0.3256, allocations: 267.2 kB / 0.5607 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.3257, allocations: 23.72 kB / 0.5607 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00016/0.3259, allocations: 115.6 kB / 0.5609 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.3261, allocations: 167.4 kB / 0.561 GB, free: 3.426 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.3261, allocations: 8 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3263, allocations: 67.97 kB / 0.5611 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.3264, allocations: 59.77 kB / 0.5611 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.967e-05/0.3265, allocations: 75.34 kB / 0.5612 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003603/0.3268, allocations: 250.9 kB / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.3268, allocations: 0 / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3268, allocations: 0 / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.3268, allocations: 0 / 0.5615 GB, free: 2.973 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007727/0.3276, allocations: 0.5003 MB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.3277, allocations: 8.031 kB / 0.5619 GB, free: 2.434 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.542e-05/0.3277, allocations: 42.69 kB / 0.562 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.3278, allocations: 28.75 kB / 0.562 GB, free: 2.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003883/0.3282, allocations: 226.5 kB / 0.5622 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.3282, allocations: 4.375 kB / 0.5622 GB, free: 2.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.3282, allocations: 15.94 kB / 0.5623 GB, free: 2.094 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.3285, allocations: 119.2 kB / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3285, allocations: 0 / 0.5624 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3285, allocations: 3.984 kB / 0.5624 GB, free: 1.961 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.3285, allocations: 4 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3286, allocations: 51.95 kB / 0.5624 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005944/0.3292, allocations: 435.9 kB / 0.5628 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.3296, allocations: 121.2 kB / 0.563 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.3297, allocations: 49.77 kB / 0.563 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.3297, allocations: 0 / 0.563 GB, free: 1.242 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.33, allocations: 117.1 kB / 0.5631 GB, free: 1.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.33, allocations: 0 / 0.5631 GB, free: 1.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001384/0.3313, allocations: 0.5247 MB / 0.5636 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.3314, allocations: 85.11 kB / 0.5637 GB, free: 488 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.3319, allocations: 452.5 kB / 0.5641 GB, free: 20 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.505e-05/0.3319, allocations: 33.7 kB / 0.5642 GB, free: 15.98 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.3321, allocations: 160.5 kB / 0.5643 GB, free: 15.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.369e-05/0.3322, allocations: 75.41 kB / 0.5644 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.126e-05/0.3322, allocations: 45.7 kB / 0.5644 GB, free: 15.69 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.3324, allocations: 350.7 kB / 0.5648 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3325, allocations: 55.97 kB / 0.5648 GB, free: 15.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.3327, allocations: 95.34 kB / 0.5649 GB, free: 15.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003046/0.333, allocations: 171.4 kB / 0.5651 GB, free: 15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.333, allocations: 0 / 0.5651 GB, free: 15 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004351/0.3334, allocations: 245.2 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3334, allocations: 8 kB / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3334, allocations: 240 / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3334, allocations: 0 / 0.5653 GB, free: 14.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/0.3336, allocations: 39.98 kB / 0.5654 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.3336, allocations: 7.922 kB / 0.5654 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.79e-05/0.3337, allocations: 24 kB / 0.5654 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.3337, allocations: 8 kB / 0.5654 GB, free: 14.67 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * 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.0001608/0.3339, allocations: 162.3 kB / 0.5656 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.332e-05/0.3339, allocations: 35.75 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005659/0.3345, allocations: 280.3 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3345, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3345, allocations: 4 kB / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.3345, allocations: 0 / 0.5659 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009991/0.3355, allocations: 0.7106 MB / 0.5666 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3355, allocations: 0 / 0.5666 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.3356, allocations: 35.92 kB / 0.5666 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.3356, allocations: 4 kB / 0.5666 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.3356, allocations: 7.984 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.3356, allocations: 4 kB / 0.5666 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.3356, allocations: 7.875 kB / 0.5666 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.3362, allocations: 443.8 kB / 0.567 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.055e-05/0.3362, allocations: 31.77 kB / 0.5671 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.3363, allocations: 11.94 kB / 0.5671 GB, free: 12.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001545/0.3364, allocations: 15.92 kB / 0.5671 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.733e-05/0.3365, allocations: 19.97 kB / 0.5671 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.3365, allocations: 8 kB / 0.5671 GB, free: 12.8 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003509/0.3368, allocations: 343 kB / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3368, allocations: 0 / 0.5674 GB, free: 12.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003645/0.3372, allocations: 51.94 kB / 0.5675 GB, free: 12.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002825/0.34, allocations: 1.441 MB / 0.5689 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003762/0.3404, allocations: 160 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3404, allocations: 4 kB / 0.5691 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.3406, allocations: 75.84 kB / 0.5691 GB, free: 10.95 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.3411, allocations: 69.09 kB / 0.5692 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003591/0.3447, allocations: 2.896 MB / 0.572 GB, free: 7.875 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.3449, allocations: 170.1 kB / 0.5722 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001152/0.345, allocations: 37.92 kB / 0.5722 GB, free: 7.648 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.3452, allocations: 95.77 kB / 0.5723 GB, free: 7.555 MB / 414.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3452, allocations: 3.938 kB / 0.5723 GB, free: 7.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03398/0.3792, allocations: 7.272 MB / 0.5794 GB, free: 368 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.8, allocations: 3.938 kB / 0.5794 GB, free: 364 kB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test75.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: 14.83217022800818]