Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.001726/0.001726, 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.002097/0.002097, allocations: 218.7 kB / 24.52 MB, free: 3.91 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.486/1.486, allocations: 230.6 MB / 258.3 MB, free: 7.781 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.2343/0.2343, allocations: 46.96 MB / 361.7 MB, free: 4.059 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.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 71.89 kB / 0.4969 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.3316, allocations: 66.03 MB / 0.5614 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003463/0.3351, allocations: 1.874 MB / 0.5633 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001994/0.337, allocations: 1.065 MB / 0.5643 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.995e-05/0.3371, allocations: 4 kB / 0.5643 GB, free: 1.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004966/0.3376, allocations: 259.3 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000509/0.3381, allocations: 239.1 kB / 0.5648 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002839/0.3384, allocations: 115.6 kB / 0.5649 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003595/0.3388, allocations: 271.3 kB / 0.5651 GB, free: 440 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.3389, allocations: 27.77 kB / 0.5652 GB, free: 412 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000168/0.3391, allocations: 135.4 kB / 0.5653 GB, free: 276 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000253/0.3393, allocations: 207.4 kB / 0.5655 GB, free: 68 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.904e-05/0.3394, allocations: 8 kB / 0.5655 GB, free: 60 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001791/0.3395, allocations: 68.03 kB / 0.5656 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001107/0.3396, allocations: 79.56 kB / 0.5657 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.3397, allocations: 67.42 kB / 0.5657 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003508/0.3401, allocations: 258.7 kB / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3401, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3401, allocations: 0 / 0.566 GB, free: 15.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.3401, allocations: 0 / 0.566 GB, free: 15.59 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.0007899/0.3409, allocations: 0.5196 MB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.3409, allocations: 8.031 kB / 0.5665 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.891e-05/0.3409, allocations: 12.12 kB / 0.5665 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.067e-05/0.341, allocations: 38.73 kB / 0.5665 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.341, allocations: 32.75 kB / 0.5666 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00039/0.3414, allocations: 228.8 kB / 0.5668 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.3415, allocations: 8.125 kB / 0.5668 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.3415, allocations: 12 kB / 0.5668 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3418, allocations: 111.3 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.3418, allocations: 7.984 kB / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3418, allocations: 0 / 0.5669 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.3418, allocations: 4 kB / 0.5669 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.3419, allocations: 51.91 kB / 0.567 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000623/0.3426, allocations: 443.9 kB / 0.5674 GB, free: 14.01 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003966/0.343, allocations: 125.1 kB / 0.5675 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.3431, allocations: 41.83 kB / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.3431, allocations: 0 / 0.5675 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000279/0.3434, allocations: 137 kB / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.312e-06/0.3434, allocations: 0 / 0.5677 GB, free: 13.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001458/0.3448, allocations: 0.5328 MB / 0.5682 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3449, allocations: 77.11 kB / 0.5683 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005846/0.3455, allocations: 0.4977 MB / 0.5688 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.3455, allocations: 37.69 kB / 0.5688 GB, free: 12.49 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001662/0.3457, allocations: 172.5 kB / 0.569 GB, free: 12.31 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.585e-05/0.3457, allocations: 75.42 kB / 0.569 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.172e-05/0.3458, allocations: 45.64 kB / 0.5691 GB, free: 12.19 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.346, allocations: 346.8 kB / 0.5694 GB, free: 11.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.3461, allocations: 55.97 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.3463, allocations: 99.33 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.3466, allocations: 163.4 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3466, allocations: 3.938 kB / 0.5697 GB, free: 11.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004366/0.347, allocations: 245.2 kB / 0.5699 GB, free: 11.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.347, allocations: 11.98 kB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.347, allocations: 0 / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.347, allocations: 4 kB / 0.57 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3472, allocations: 39.92 kB / 0.57 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3472, allocations: 8.062 kB / 0.57 GB, free: 11.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.939e-05/0.3473, allocations: 11.98 kB / 0.57 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.3473, allocations: 8 kB / 0.57 GB, free: 11.17 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.0001824/0.3475, allocations: 178.3 kB / 0.5702 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.386e-05/0.3476, allocations: 39.7 kB / 0.5702 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.3482, allocations: 292.5 kB / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.3482, allocations: 0 / 0.5705 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3482, allocations: 4 kB / 0.5705 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.3482, allocations: 0 / 0.5705 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.3492, allocations: 0.7185 MB / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3492, allocations: 4.125 kB / 0.5712 GB, free: 9.867 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.957e-05/0.3493, allocations: 31.98 kB / 0.5713 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.3493, allocations: 0 / 0.5713 GB, free: 9.836 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.3493, allocations: 8.188 kB / 0.5713 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.572e-06/0.3493, allocations: 7.938 kB / 0.5713 GB, free: 9.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.3493, allocations: 11.88 kB / 0.5713 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005429/0.3499, allocations: 447.5 kB / 0.5717 GB, free: 9.344 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.3499, allocations: 27.8 kB / 0.5717 GB, free: 9.316 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.3499, allocations: 8 kB / 0.5717 GB, free: 9.309 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3501, allocations: 11.94 kB / 0.5717 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/0.3502, allocations: 27.91 kB / 0.5718 GB, free: 9.27 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.3502, allocations: 15.98 kB / 0.5718 GB, free: 9.254 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003845/0.3506, allocations: 375.1 kB / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3506, allocations: 0 / 0.5721 GB, free: 8.887 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003716/0.3509, allocations: 55.92 kB / 0.5722 GB, free: 8.832 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.002917/0.3539, allocations: 1.43 MB / 0.5736 GB, free: 7.617 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004027/0.3543, allocations: 163.7 kB / 0.5738 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3543, allocations: 0 / 0.5738 GB, free: 7.457 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.3544, allocations: 75.91 kB / 0.5738 GB, free: 7.383 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005935/0.355, allocations: 64.39 kB / 0.5739 GB, free: 7.328 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.359, allocations: 3.034 MB / 0.5769 GB, free: 4.168 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3592, allocations: 182.3 kB / 0.577 GB, free: 3.969 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001289/0.3593, allocations: 41.92 kB / 0.5771 GB, free: 3.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.3595, allocations: 107.4 kB / 0.5772 GB, free: 3.824 MB / 414.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3595, allocations: 4 kB / 0.5772 GB, free: 3.82 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3871, allocations: 7.193 MB / 0.5842 GB, free: 12.72 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.06, allocations: 6.641 kB / 0.5842 GB, free: 12.71 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.304250906105153]