Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001283/0.001283, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001533/0.001533, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.408/1.408, allocations: 230.6 MB / 257.5 MB, free: 8.035 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.2356/0.2356, allocations: 46.92 MB / 360.9 MB, free: 4.305 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.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 68.08 kB / 0.4962 GB, free: 7.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3332, allocations: 66.04 MB / 0.5607 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003422/0.3367, allocations: 1.956 MB / 0.5626 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3385, allocations: 1.08 MB / 0.5637 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.3385, allocations: 11.94 kB / 0.5637 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000288/0.3388, allocations: 43.7 kB / 0.5637 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.3391, allocations: 103.5 kB / 0.5638 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002358/0.3394, allocations: 95.7 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.3396, allocations: 151.5 kB / 0.5641 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3397, allocations: 19.58 kB / 0.5641 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.3399, allocations: 63.7 kB / 0.5641 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.34, allocations: 55.7 kB / 0.5642 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.34, allocations: 7.938 kB / 0.5642 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.778e-05/0.3401, allocations: 51.98 kB / 0.5642 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.864e-05/0.3402, allocations: 27.91 kB / 0.5643 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.665e-05/0.3403, allocations: 51.62 kB / 0.5643 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.3405, allocations: 151.3 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3405, allocations: 0 / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.3405, allocations: 0 / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.17e-06/0.3405, allocations: 3.938 kB / 0.5645 GB, free: 0.5977 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.0007365/0.3413, allocations: 419.1 kB / 0.5649 GB, free: 156 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3413, allocations: 8.031 kB / 0.5649 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.3413, allocations: 42.75 kB / 0.5649 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.3414, allocations: 16.84 kB / 0.5649 GB, free: 80 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.3417, allocations: 174.9 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3417, allocations: 4.375 kB / 0.5651 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.3417, allocations: 11.94 kB / 0.5651 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.342, allocations: 104.2 kB / 0.5652 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.342, allocations: 4 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.342, allocations: 7.938 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.342, allocations: 4 kB / 0.5652 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001454/0.3422, allocations: 51.89 kB / 0.5653 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006063/0.3428, allocations: 492 kB / 0.5657 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.3431, allocations: 74.67 kB / 0.5658 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.438e-05/0.3432, allocations: 36.83 kB / 0.5659 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.065e-05/0.3432, allocations: 7.938 kB / 0.5659 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002021/0.3434, allocations: 87.31 kB / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3434, allocations: 0 / 0.5659 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004085/0.3438, allocations: 149.4 kB / 0.5661 GB, free: 14.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3439, allocations: 51.41 kB / 0.5661 GB, free: 14.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002079/0.3441, allocations: 203.1 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.3441, allocations: 29.7 kB / 0.5664 GB, free: 14.46 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.981e-05/0.3442, allocations: 116.1 kB / 0.5665 GB, free: 14.35 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.187e-05/0.3442, allocations: 31.73 kB / 0.5665 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.259e-05/0.3443, allocations: 33.7 kB / 0.5665 GB, free: 14.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.3444, allocations: 326.8 kB / 0.5668 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.852e-05/0.3445, allocations: 23.98 kB / 0.5669 GB, free: 13.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/0.3446, allocations: 64.27 kB / 0.5669 GB, free: 13.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.3448, allocations: 100.1 kB / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3448, allocations: 0 / 0.567 GB, free: 13.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002794/0.3451, allocations: 141.8 kB / 0.5672 GB, free: 13.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3451, allocations: 8.094 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3451, allocations: 3.938 kB / 0.5672 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.3451, allocations: 3.938 kB / 0.5672 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.3452, allocations: 23.98 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.3452, allocations: 0 / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.881e-05/0.3453, allocations: 19.89 kB / 0.5672 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.3453, allocations: 4 kB / 0.5672 GB, free: 13.53 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.0001259/0.3454, allocations: 140.5 kB / 0.5674 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.698e-05/0.3455, allocations: 15.91 kB / 0.5674 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.3458, allocations: 123 kB / 0.5675 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.3458, allocations: 7.938 kB / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3458, allocations: 0 / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3458, allocations: 0 / 0.5675 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.346, allocations: 176.7 kB / 0.5677 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.346, allocations: 3.938 kB / 0.5677 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.576e-05/0.346, allocations: 15.98 kB / 0.5677 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.346, allocations: 4 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3461, allocations: 0 / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3461, allocations: 3.938 kB / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.3461, allocations: 0 / 0.5677 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.3464, allocations: 184.9 kB / 0.5679 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.3465, allocations: 15.94 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.3465, allocations: 8.062 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.036e-05/0.3465, allocations: 7.938 kB / 0.5679 GB, free: 12.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.3466, allocations: 15.92 kB / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3466, allocations: 0 / 0.5679 GB, free: 12.74 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001289/0.3467, allocations: 143.2 kB / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3467, allocations: 192 / 0.568 GB, free: 12.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002429/0.347, allocations: 31.92 kB / 0.5681 GB, free: 12.57 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 (9): * Single equations (assignments): 7 * 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.001995/0.349, allocations: 1.012 MB / 0.5691 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002529/0.3492, allocations: 75.89 kB / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3492, allocations: 0 / 0.5691 GB, free: 11.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001005/0.3493, allocations: 44.11 kB / 0.5692 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3496, allocations: 61.78 kB / 0.5692 GB, free: 11.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002376/0.352, allocations: 1.758 MB / 0.571 GB, free: 9.645 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3524, allocations: 0.7123 MB / 0.5717 GB, free: 8.906 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.652e-05/0.3524, allocations: 21.42 kB / 0.5717 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.384e-05/0.3525, allocations: 39.42 kB / 0.5717 GB, free: 8.848 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3525, allocations: 0 / 0.5717 GB, free: 8.848 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/0.3839, allocations: 4.019 MB / 0.5756 GB, free: 4.902 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.36, allocations: 8.062 kB / 0.5756 GB, free: 4.895 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.287064905045554]