Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.0008131/0.0008131, allocations: 80.53 kB / 19.92 MB, free: 4.637 MB / 18.57 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.0009159/0.0009159, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8444/0.8444, allocations: 158.6 MB / 185 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1338/0.1338, allocations: 32.37 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 406.9 MB, free: 2.164 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.852e-05/1.98e-05, allocations: 6.078 kB / 406.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.00211/0.002129, allocations: 1.633 MB / 408.6 MB, free: 0.5117 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.000891/0.00302, allocations: 0.7571 MB / 409.3 MB, free: 15.75 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.988e-05/0.0031, allocations: 3.938 kB / 409.3 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005509/0.003651, allocations: 63.67 kB / 409.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002199/0.003871, allocations: 63.67 kB / 409.4 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.004085, allocations: 83.66 kB / 409.5 MB, free: 15.54 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.00424, allocations: 103.6 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.89e-05/0.004279, allocations: 4 kB / 409.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.363e-05/0.004363, allocations: 55.83 kB / 409.7 MB, free: 15.38 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.332e-05/0.004446, allocations: 35.89 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.004463, allocations: 4 kB / 409.7 MB, free: 15.34 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.019e-05/0.004543, allocations: 31.98 kB / 409.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.149e-05/0.004595, allocations: 11.94 kB / 409.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 3.968e-05/0.004635, allocations: 23.91 kB / 409.8 MB, free: 15.27 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.004793, allocations: 95.59 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.004795, allocations: 0 / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.004797, allocations: 3.938 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.004802, allocations: 4 kB / 409.9 MB, free: 15.17 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004055/0.005208, allocations: 325.7 kB / 410.2 MB, free: 14.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.005244, allocations: 12.02 kB / 410.2 MB, free: 14.81 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.88e-05/0.005273, allocations: 34.75 kB / 410.3 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.005304, allocations: 8.891 kB / 410.3 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.005495, allocations: 141.5 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.005506, allocations: 384 / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.278e-06/0.005515, allocations: 8.312 kB / 410.4 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001111/0.005626, allocations: 49.98 kB / 410.5 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.005634, allocations: 7.922 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.704e-06/0.005642, allocations: 4 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.005646, allocations: 4 kB / 410.5 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.886e-05/0.005695, allocations: 15.98 kB / 410.5 MB, free: 14.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.005841, allocations: 144.8 kB / 410.6 MB, free: 14.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001138/0.005954, allocations: 50.61 kB / 410.7 MB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.005987, allocations: 16.86 kB / 410.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.006, allocations: 4 kB / 410.7 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.006117, allocations: 71.27 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.021e-06/0.006118, allocations: 4 kB / 410.8 MB, free: 14.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002029/0.006321, allocations: 105.6 kB / 410.9 MB, free: 14.04 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.88e-05/0.00635, allocations: 51.41 kB / 410.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.006465, allocations: 178.2 kB / 411.1 MB, free: 13.79 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.006477, allocations: 33.69 kB / 411.1 MB, free: 13.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.006517, allocations: 96.14 kB / 411.2 MB, free: 13.66 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.006545, allocations: 7.906 kB / 411.2 MB, free: 13.65 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.006576, allocations: 25.7 kB / 411.3 MB, free: 13.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.826e-05/0.006655, allocations: 318.8 kB / 411.6 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.448e-05/0.006689, allocations: 23.92 kB / 411.6 MB, free: 13.27 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.475e-05/0.006724, allocations: 33.7 kB / 411.6 MB, free: 13.23 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.006786, allocations: 45.7 kB / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.006788, allocations: 0 / 411.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.945e-05/0.006888, allocations: 85.52 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.006901, allocations: 7.984 kB / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.006906, allocations: 0 / 411.8 MB, free: 13.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.006917, allocations: 4 kB / 411.8 MB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.554e-05/0.006973, allocations: 8 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.006977, allocations: 0 / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.959e-05/0.007007, allocations: 8.031 kB / 411.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.007013, allocations: 4 kB / 411.8 MB, free: 13.06 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 6.936e-05/0.007082, allocations: 125.8 kB / 411.9 MB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.442e-05/0.007096, allocations: 15.84 kB / 411.9 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001356/0.007232, allocations: 98.06 kB / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007234, allocations: 0 / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.007238, allocations: 3.938 kB / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007241, allocations: 0 / 412 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.447e-05/0.007335, allocations: 148.7 kB / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.007337, allocations: 384 / 412.2 MB, free: 12.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.655e-05/0.007354, allocations: 8 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.007356, allocations: 7.938 kB / 412.2 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.007365, allocations: 4 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.007365, allocations: 0 / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.007367, allocations: 3.984 kB / 412.2 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.007478, allocations: 117 kB / 412.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.418e-05/0.007493, allocations: 15.83 kB / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.007507, allocations: 4 kB / 412.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.997e-05/0.007527, allocations: 4 kB / 412.3 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.007555, allocations: 7.984 kB / 412.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.007568, allocations: 4 kB / 412.3 MB, free: 12.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.289e-05/0.007641, allocations: 136.1 kB / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007641, allocations: 0 / 412.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001574/0.007798, allocations: 15.98 kB / 412.5 MB, free: 12.28 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.0009298/0.008728, allocations: 0.9939 MB / 413.5 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001229/0.008851, allocations: 35.98 kB / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.008853, allocations: 0 / 413.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.989e-05/0.008893, allocations: 27.98 kB / 413.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009082, allocations: 31.86 kB / 413.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.01015, allocations: 1.469 MB / 415 MB, free: 9.641 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.086e-05/0.0102, allocations: 83.77 kB / 415.1 MB, free: 9.539 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.981e-05/0.01024, allocations: 12.59 kB / 415.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.01029, allocations: 40.42 kB / 415.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01029, allocations: 4 kB / 415.2 MB, free: 9.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01706/0.02735, allocations: 3.82 MB / 419 MB, free: 5.527 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.532/6.559, allocations: 8 kB / 419 MB, free: 5.52 MB / 394.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --stepSize=0.00059952 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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: 8.501988478004932]