Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001941/0.001941, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002032/0.002032, allocations: 212.9 kB / 24.52 MB, free: 3.941 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.516/1.516, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.2337/0.2337, allocations: 46.96 MB / 361.6 MB, free: 4.055 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.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 67.91 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3362, allocations: 66.03 MB / 0.5614 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003442/0.3397, allocations: 1.866 MB / 0.5633 GB, free: 2.375 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001958/0.3416, allocations: 1.081 MB / 0.5643 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.3417, allocations: 7.938 kB / 0.5643 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003846/0.3421, allocations: 159.5 kB / 0.5645 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004435/0.3426, allocations: 183.3 kB / 0.5646 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.3428, allocations: 119.6 kB / 0.5648 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.3431, allocations: 243.3 kB / 0.565 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3433, allocations: 31.77 kB / 0.565 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000149/0.3434, allocations: 107.5 kB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002071/0.3436, allocations: 147.5 kB / 0.5653 GB, free: 316 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.3436, allocations: 11.98 kB / 0.5653 GB, free: 304 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.3438, allocations: 59.98 kB / 0.5653 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.3439, allocations: 55.78 kB / 0.5654 GB, free: 188 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.344, allocations: 67.47 kB / 0.5654 GB, free: 120 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3443, allocations: 230.9 kB / 0.5657 GB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3443, allocations: 8 kB / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3443, allocations: 0 / 0.5657 GB, free: 15.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3443, allocations: 0 / 0.5657 GB, free: 15.88 MB / 414.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.0007199/0.345, allocations: 476.6 kB / 0.5661 GB, free: 15.39 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.3451, allocations: 11.97 kB / 0.5661 GB, free: 15.38 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.597e-05/0.3451, allocations: 8.125 kB / 0.5661 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.647e-05/0.3451, allocations: 34.75 kB / 0.5662 GB, free: 15.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.3452, allocations: 28.75 kB / 0.5662 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003604/0.3456, allocations: 206.6 kB / 0.5664 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3456, allocations: 16.12 kB / 0.5664 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.3456, allocations: 4 kB / 0.5664 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.3459, allocations: 122.3 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3459, allocations: 0 / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.3459, allocations: 0 / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.3459, allocations: 4 kB / 0.5665 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002104/0.3461, allocations: 59.88 kB / 0.5666 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005899/0.3467, allocations: 427.8 kB / 0.567 GB, free: 14.4 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003916/0.3471, allocations: 121.2 kB / 0.5671 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.3472, allocations: 49.81 kB / 0.5672 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3472, allocations: 4 kB / 0.5672 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/0.3476, allocations: 121.2 kB / 0.5673 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.664e-06/0.3476, allocations: 4 kB / 0.5673 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001432/0.349, allocations: 0.5053 MB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/0.3491, allocations: 89.05 kB / 0.5679 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.3495, allocations: 376.5 kB / 0.5682 GB, free: 13.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.871e-05/0.3495, allocations: 33.7 kB / 0.5683 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.3496, allocations: 144.5 kB / 0.5684 GB, free: 12.88 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.403e-05/0.3497, allocations: 79.38 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.891e-05/0.3497, allocations: 41.7 kB / 0.5685 GB, free: 12.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.35, allocations: 342.8 kB / 0.5688 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.3501, allocations: 59.97 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.3503, allocations: 95.33 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003214/0.3506, allocations: 171.5 kB / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3506, allocations: 0 / 0.5692 GB, free: 12.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004324/0.351, allocations: 237.2 kB / 0.5694 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.351, allocations: 8 kB / 0.5694 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.351, allocations: 0 / 0.5694 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.3511, allocations: 3.984 kB / 0.5694 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3512, allocations: 43.98 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.3512, allocations: 8 kB / 0.5694 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.3513, allocations: 12 kB / 0.5695 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.3514, allocations: 7.984 kB / 0.5695 GB, free: 11.74 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.0001661/0.3515, allocations: 158.3 kB / 0.5696 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.3516, allocations: 31.75 kB / 0.5696 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006556/0.3522, allocations: 279.5 kB / 0.5699 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.3522, allocations: 7.938 kB / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3522, allocations: 0 / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3522, allocations: 0 / 0.5699 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.3533, allocations: 0.7068 MB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.3533, allocations: 4 kB / 0.5706 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.3534, allocations: 35.92 kB / 0.5706 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.3534, allocations: 4 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.3534, allocations: 4 kB / 0.5707 GB, free: 10.45 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3534, allocations: 4 kB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3534, allocations: 3.938 kB / 0.5707 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005694/0.354, allocations: 447.5 kB / 0.5711 GB, free: 9.973 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.354, allocations: 23.84 kB / 0.5711 GB, free: 9.949 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.3541, allocations: 8 kB / 0.5711 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.3542, allocations: 11.94 kB / 0.5711 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.942e-05/0.3543, allocations: 19.97 kB / 0.5712 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.3543, allocations: 15.98 kB / 0.5712 GB, free: 9.895 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003016/0.3546, allocations: 283 kB / 0.5714 GB, free: 9.617 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 0 / 0.5714 GB, free: 9.617 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003704/0.355, allocations: 51.88 kB / 0.5715 GB, free: 9.566 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.002965/0.3579, allocations: 1.44 MB / 0.5729 GB, free: 8.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004308/0.3584, allocations: 151.8 kB / 0.573 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.3584, allocations: 0 / 0.573 GB, free: 8.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.3585, allocations: 79.83 kB / 0.5731 GB, free: 8.113 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006167/0.3592, allocations: 67.77 kB / 0.5732 GB, free: 8.051 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003934/0.3631, allocations: 2.747 MB / 0.5759 GB, free: 5.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002267/0.3633, allocations: 161.3 kB / 0.576 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001434/0.3635, allocations: 33.94 kB / 0.576 GB, free: 4.965 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.3636, allocations: 87.39 kB / 0.5761 GB, free: 4.879 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.3636, allocations: 4 kB / 0.5761 GB, free: 4.875 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0281/0.3917, allocations: 6.616 MB / 0.5826 GB, free: 14.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.12, allocations: 7.031 kB / 0.5826 GB, free: 14.33 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.382134679006413]