Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.0007904/0.0007904, allocations: 76.48 kB / 19.92 MB, free: 4.633 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.0008073/0.0008073, allocations: 169.9 kB / 23.21 MB, free: 1.352 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.804/0.804, allocations: 158.6 MB / 185 MB, free: 3.027 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.1204/0.1204, allocations: 32.37 MB / 269.6 MB, free: 14.97 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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 406.9 MB, free: 2.184 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.117e-05/2.281e-05, allocations: 2.281 kB / 406.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002513/0.002536, allocations: 1.808 MB / 408.7 MB, free: 368 kB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001039/0.003575, allocations: 0.8621 MB / 409.6 MB, free: 15.49 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.00366, allocations: 4 kB / 409.6 MB, free: 15.48 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.004033, allocations: 167.4 kB / 409.8 MB, free: 15.32 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.004317, allocations: 143.4 kB / 409.9 MB, free: 15.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.004622, allocations: 147.5 kB / 410 MB, free: 15.04 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002589/0.004881, allocations: 223.3 kB / 410.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.004994, allocations: 13.81 kB / 410.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.00516, allocations: 127.6 kB / 410.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001576/0.005317, allocations: 123.7 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.005343, allocations: 8 kB / 410.5 MB, free: 14.55 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.971e-05/0.005443, allocations: 47.86 kB / 410.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 7.476e-05/0.005517, allocations: 59.77 kB / 410.6 MB, free: 14.44 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 5.255e-05/0.00557, allocations: 31.88 kB / 410.7 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002413/0.005811, allocations: 199.2 kB / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.005816, allocations: 0 / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.005817, allocations: 0 / 410.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.708e-06/0.005822, allocations: 0 / 410.9 MB, free: 14.21 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005533/0.006375, allocations: 444.9 kB / 411.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.006423, allocations: 12.03 kB / 411.3 MB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.468e-05/0.006458, allocations: 34.75 kB / 411.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.006505, allocations: 28.78 kB / 411.4 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.006791, allocations: 200.7 kB / 411.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.006806, allocations: 8.375 kB / 411.6 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.006827, allocations: 8.359 kB / 411.6 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.006996, allocations: 107.5 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.007007, allocations: 0 / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.007017, allocations: 4 kB / 411.7 MB, free: 13.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.007023, allocations: 4 kB / 411.7 MB, free: 13.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.325e-05/0.007106, allocations: 43.89 kB / 411.7 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004138/0.00752, allocations: 408.1 kB / 412.1 MB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.007706, allocations: 117.3 kB / 412.2 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.417e-05/0.00777, allocations: 49.67 kB / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.007786, allocations: 0 / 412.3 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001916/0.007978, allocations: 117 kB / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.007979, allocations: 0 / 412.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006762/0.008655, allocations: 376.6 kB / 412.8 MB, free: 12.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.008709, allocations: 85.09 kB / 412.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002731/0.008982, allocations: 360.2 kB / 413.2 MB, free: 11.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.009001, allocations: 29.7 kB / 413.2 MB, free: 11.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.995e-05/0.009081, allocations: 144.4 kB / 413.4 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.328e-05/0.009124, allocations: 55.53 kB / 413.4 MB, free: 11.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.009166, allocations: 37.7 kB / 413.5 MB, free: 11.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.697e-05/0.009253, allocations: 338.8 kB / 413.8 MB, free: 11.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.588e-05/0.009319, allocations: 43.97 kB / 413.8 MB, free: 11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.32e-05/0.009392, allocations: 75.41 kB / 413.9 MB, free: 10.92 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.009524, allocations: 123.5 kB / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.009525, allocations: 0 / 414 MB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002049/0.00973, allocations: 177.4 kB / 414.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.009747, allocations: 11.98 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.009752, allocations: 0 / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.009767, allocations: 7.938 kB / 414.2 MB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.237e-05/0.009859, allocations: 31.98 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.009866, allocations: 8.062 kB / 414.3 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.701e-05/0.009913, allocations: 15.83 kB / 414.3 MB, free: 10.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.009923, allocations: 8 kB / 414.3 MB, free: 10.52 MB / 394.7 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 (20): * Single equations (assignments): 20 * 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.0001031/0.01003, allocations: 161.7 kB / 414.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.01005, allocations: 23.86 kB / 414.5 MB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.01031, allocations: 215.3 kB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.01032, allocations: 4 kB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.01032, allocations: 0 / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.01033, allocations: 3.984 kB / 414.7 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.01083, allocations: 0.5961 MB / 415.3 MB, free: 9.453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.01083, allocations: 4.75 kB / 415.3 MB, free: 9.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.817e-05/0.01087, allocations: 19.98 kB / 415.3 MB, free: 9.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.01087, allocations: 3.938 kB / 415.3 MB, free: 9.426 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.01088, allocations: 4 kB / 415.3 MB, free: 9.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.01088, allocations: 8 kB / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.01088, allocations: 0 / 415.3 MB, free: 9.414 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.01113, allocations: 384.2 kB / 415.7 MB, free: 9.016 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.01115, allocations: 27.86 kB / 415.7 MB, free: 8.988 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.01117, allocations: 7.938 kB / 415.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.053e-05/0.01124, allocations: 11.98 kB / 415.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.01128, allocations: 7.984 kB / 415.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.0113, allocations: 15.98 kB / 415.8 MB, free: 8.945 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001626/0.01147, allocations: 271 kB / 416 MB, free: 8.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01147, allocations: 0 / 416 MB, free: 8.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002266/0.01169, allocations: 39.94 kB / 416.1 MB, free: 8.641 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (18): * Single equations (assignments): 14 * 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.001108/0.0128, allocations: 1.308 MB / 417.4 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001939/0.01299, allocations: 119.8 kB / 417.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.013, allocations: 128 / 417.5 MB, free: 7.219 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 7.556e-05/0.01307, allocations: 63.91 kB / 417.6 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.01341, allocations: 65.3 kB / 417.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001834/0.01524, allocations: 2.483 MB / 420.1 MB, free: 4.492 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.679e-05/0.01534, allocations: 145 kB / 420.3 MB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.564e-05/0.0154, allocations: 25.62 kB / 420.3 MB, free: 4.301 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.677e-05/0.01549, allocations: 76.47 kB / 420.4 MB, free: 4.223 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.01549, allocations: 0 / 420.4 MB, free: 4.223 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.03222, allocations: 6.387 MB / 426.7 MB, free: 13.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.659/6.691, allocations: 0 / 426.7 MB, free: 13.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.524019136093557]