Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.001965/0.001965, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002413/0.002413, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.229/0.229, allocations: 46.96 MB / 361.7 MB, free: 4.145 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 64.05 kB / 0.4969 GB, free: 7.695 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3407, allocations: 66.03 MB / 0.5614 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003451/0.3442, allocations: 1.905 MB / 0.5633 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.346, allocations: 1.007 MB / 0.5643 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.811e-05/0.3461, allocations: 4 kB / 0.5643 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3464, allocations: 43.7 kB / 0.5643 GB, free: 1.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.3468, allocations: 103.5 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.347, allocations: 99.66 kB / 0.5645 GB, free: 1.066 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3472, allocations: 147.6 kB / 0.5646 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.3473, allocations: 19.72 kB / 0.5647 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.3474, allocations: 59.72 kB / 0.5647 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3476, allocations: 55.64 kB / 0.5648 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3476, allocations: 8 kB / 0.5648 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.3477, allocations: 47.98 kB / 0.5648 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.3477, allocations: 31.84 kB / 0.5648 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.426e-05/0.3478, allocations: 39.73 kB / 0.5649 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.3481, allocations: 163.2 kB / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3481, allocations: 0 / 0.565 GB, free: 0.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3481, allocations: 4 kB / 0.565 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3481, allocations: 0 / 0.565 GB, free: 0.4961 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006505/0.3488, allocations: 407.1 kB / 0.5654 GB, free: 64 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.3488, allocations: 12.03 kB / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.536e-05/0.3488, allocations: 192 / 0.5654 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.3488, allocations: 38.75 kB / 0.5655 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.536e-05/0.3489, allocations: 15.33 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003102/0.3492, allocations: 171 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.3492, allocations: 13.69 kB / 0.5657 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.3493, allocations: 7.938 kB / 0.5657 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.3495, allocations: 133.9 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.3495, allocations: 0 / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.3496, allocations: 3.938 kB / 0.5658 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3496, allocations: 4 kB / 0.5658 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001652/0.3497, allocations: 51.89 kB / 0.5659 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006589/0.3504, allocations: 488 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000338/0.3507, allocations: 86.66 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.996e-05/0.3508, allocations: 36.78 kB / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.3508, allocations: 0 / 0.5664 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.3511, allocations: 113 kB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3511, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.000417/0.3515, allocations: 149.5 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3515, allocations: 59.41 kB / 0.5668 GB, free: 14.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.3517, allocations: 195.2 kB / 0.5669 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/0.3518, allocations: 33.7 kB / 0.567 GB, free: 14.31 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.3519, allocations: 120.1 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.3519, allocations: 27.75 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.352, allocations: 29.7 kB / 0.5671 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3521, allocations: 326.8 kB / 0.5675 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.279e-05/0.3522, allocations: 27.98 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.3523, allocations: 68.27 kB / 0.5675 GB, free: 13.69 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002996/0.3526, allocations: 100.1 kB / 0.5676 GB, free: 13.58 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.3526, allocations: 4 kB / 0.5676 GB, free: 13.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002938/0.3529, allocations: 145.7 kB / 0.5678 GB, free: 13.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.3529, allocations: 4 kB / 0.5678 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.3529, allocations: 8.125 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.353, allocations: 0 / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3531, allocations: 23.98 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.3531, allocations: 0 / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.3532, allocations: 23.88 kB / 0.5678 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3532, allocations: 4 kB / 0.5678 GB, free: 13.36 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001148/0.3533, allocations: 133.7 kB / 0.568 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.3533, allocations: 15.91 kB / 0.568 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.3536, allocations: 139 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.3536, allocations: 7.938 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3536, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.3537, allocations: 0 / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.3538, allocations: 184.6 kB / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3538, allocations: 0 / 0.5683 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.277e-05/0.3539, allocations: 11.98 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3539, allocations: 4 kB / 0.5683 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3539, allocations: 4 kB / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.354, allocations: 0 / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.354, allocations: 0 / 0.5683 GB, free: 12.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.3544, allocations: 200.8 kB / 0.5685 GB, free: 12.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.499e-05/0.3544, allocations: 15.88 kB / 0.5685 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.3544, allocations: 4 kB / 0.5685 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.3545, allocations: 15.92 kB / 0.5685 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.272e-05/0.3545, allocations: 3.984 kB / 0.5686 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3546, allocations: 4 kB / 0.5686 GB, free: 12.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000146/0.3547, allocations: 147.2 kB / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3547, allocations: 288 / 0.5687 GB, free: 12.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002436/0.3549, allocations: 27.94 kB / 0.5687 GB, free: 12.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002257/0.3572, allocations: 1.072 MB / 0.5698 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3575, allocations: 83.83 kB / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3575, allocations: 0 / 0.5698 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.3576, allocations: 35.91 kB / 0.5699 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003411/0.3579, allocations: 39.98 kB / 0.5699 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/0.3602, allocations: 1.772 MB / 0.5717 GB, free: 9.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000134/0.3604, allocations: 113.8 kB / 0.5718 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.3604, allocations: 17.41 kB / 0.5718 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.3605, allocations: 43.41 kB / 0.5718 GB, free: 9.242 MB / 414.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3605, allocations: 0 / 0.5718 GB, free: 9.242 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/0.3859, allocations: 4.207 MB / 0.5759 GB, free: 5.113 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.86, allocations: 14.7 kB / 0.5759 GB, free: 5.105 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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: 15.036314870929345]