Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009335/0.0009335, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001014/0.001014, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8937/0.8937, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.268/0.268, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 439.7 MB, free: 4.164 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.07e-05/3.332e-05, allocations: 4.25 kB / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003339/0.003372, allocations: 1.723 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.004751, allocations: 0.9781 MB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.004844, allocations: 3.938 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003874/0.005231, allocations: 103.7 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003578/0.005589, allocations: 139.4 kB / 442.6 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.005805, allocations: 79.66 kB / 442.7 MB, free: 1.113 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002135/0.006019, allocations: 135.5 kB / 442.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.006149, allocations: 11.98 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.006251, allocations: 67.81 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.006365, allocations: 71.84 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.006385, allocations: 8 kB / 443 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.006495, allocations: 63.84 kB / 443.1 MB, free: 0.7617 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.187e-05/0.006567, allocations: 31.86 kB / 443.1 MB, free: 0.7305 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.006616, allocations: 27.92 kB / 443.1 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.006858, allocations: 155.4 kB / 443.3 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.006862, allocations: 0 / 443.3 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.006865, allocations: 3.984 kB / 443.3 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.344e-06/0.006873, allocations: 4 kB / 443.3 MB, free: 0.543 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005386/0.007411, allocations: 377.2 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.007461, allocations: 12.03 kB / 443.7 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.604e-05/0.007497, allocations: 34.73 kB / 443.7 MB, free: 92 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.388e-05/0.007551, allocations: 20.84 kB / 443.7 MB, free: 72 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1972/0.2048, allocations: 164.4 kB / 443.9 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.2048, allocations: 6.438 kB / 443.9 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.449e-05/0.2048, allocations: 5.156 kB / 443.9 MB, free: 46.47 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.205, allocations: 71.88 kB / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.205, allocations: 0 / 443.9 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.205, allocations: 5.031 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.205, allocations: 0 / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.383e-05/0.2051, allocations: 36.95 kB / 444 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003751/0.2055, allocations: 286 kB / 444.3 MB, free: 46.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.2057, allocations: 76.06 kB / 444.3 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.215e-05/0.2058, allocations: 25.92 kB / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.2058, allocations: 0 / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001246/0.2059, allocations: 87.8 kB / 444.5 MB, free: 46.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.2059, allocations: 0 / 444.5 MB, free: 46.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006583/0.2066, allocations: 292.7 kB / 444.7 MB, free: 46.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.143e-05/0.2066, allocations: 58.31 kB / 444.8 MB, free: 46.02 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.2068, allocations: 261.7 kB / 445.1 MB, free: 45.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.2068, allocations: 29.14 kB / 445.1 MB, free: 45.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.274e-05/0.2068, allocations: 115.6 kB / 445.2 MB, free: 45.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/0.2069, allocations: 42.98 kB / 445.2 MB, free: 45.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.2069, allocations: 30.92 kB / 445.3 MB, free: 45.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.355e-05/0.2069, allocations: 331.6 kB / 445.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.458e-05/0.207, allocations: 34.61 kB / 445.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.394e-05/0.2071, allocations: 56.36 kB / 445.7 MB, free: 45.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.685e-05/0.2071, allocations: 97.22 kB / 445.8 MB, free: 45.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.2071, allocations: 0 / 445.8 MB, free: 45.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001496/0.2073, allocations: 154 kB / 445.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.2073, allocations: 5.438 kB / 445.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2073, allocations: 2.531 kB / 445.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/0.2073, allocations: 2.688 kB / 445.9 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.2074, allocations: 19.89 kB / 446 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.2074, allocations: 2.875 kB / 446 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.356e-05/0.2075, allocations: 13.67 kB / 446 MB, free: 45.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.2075, allocations: 2.875 kB / 446 MB, free: 45.31 MB / 410.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 (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 7.94e-05/0.2075, allocations: 140.4 kB / 446.1 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.925e-05/0.2076, allocations: 20.81 kB / 446.1 MB, free: 45.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.2078, allocations: 180.2 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.2078, allocations: 3 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2078, allocations: 0 / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2078, allocations: 3.281 kB / 446.3 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.2082, allocations: 463.2 kB / 446.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2082, allocations: 0 / 446.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.2082, allocations: 20.36 kB / 446.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.2082, allocations: 0 / 446.8 MB, free: 44.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.2082, allocations: 9.594 kB / 446.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.2082, allocations: 2.625 kB / 446.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2082, allocations: 0 / 446.8 MB, free: 44.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001686/0.2084, allocations: 273.1 kB / 447.1 MB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.624e-05/0.2084, allocations: 17.86 kB / 447.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2084, allocations: 2.5 kB / 447.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.339e-05/0.2085, allocations: 7.812 kB / 447.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/0.2085, allocations: 15.27 kB / 447.1 MB, free: 44.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.2085, allocations: 10.52 kB / 447.1 MB, free: 44.53 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.84e-05/0.2086, allocations: 197.2 kB / 447.3 MB, free: 44.43 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2086, allocations: 0 / 447.3 MB, free: 44.43 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001937/0.2088, allocations: 39.67 kB / 447.3 MB, free: 44.42 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001136/0.2099, allocations: 1.238 MB / 448.6 MB, free: 43.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001743/0.2101, allocations: 91.75 kB / 448.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.2101, allocations: 2.781 kB / 448.7 MB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.971e-05/0.2102, allocations: 50.66 kB / 448.7 MB, free: 43.59 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002693/0.2105, allocations: 35.28 kB / 448.8 MB, free: 43.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.2118, allocations: 1.986 MB / 450.7 MB, free: 42.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.717e-05/0.2119, allocations: 115.9 kB / 450.9 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.2119, allocations: 30.02 kB / 450.9 MB, free: 42.01 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.212, allocations: 50.91 kB / 450.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.472e-06/0.212, allocations: 0 / 450.9 MB, free: 41.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.2308, allocations: 5.092 MB / 456 MB, free: 40.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.89, allocations: 5.594 kB / 456 MB, free: 40.5 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.91901122406125]