Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.0007951/0.0007951, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0007791/0.0007791, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8821/0.8821, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2454/0.2454, allocations: 32.78 MB / 293.5 MB, free: 1.223 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.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test10,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.332e-05, allocations: 2.281 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.002424/0.002437, allocations: 1.914 MB / 441.6 MB, free: 2.227 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.00372, allocations: 1.005 MB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.772e-05/0.003817, allocations: 7.938 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.004112, allocations: 35.77 kB / 442.6 MB, free: 1.172 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002699/0.004382, allocations: 103.4 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001556/0.004538, allocations: 103.6 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00018/0.004718, allocations: 143.5 kB / 443 MB, free: 0.8281 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.004836, allocations: 25.69 kB / 443 MB, free: 0.8047 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.952e-05/0.004935, allocations: 79.73 kB / 443.1 MB, free: 0.7266 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.00503, allocations: 39.89 kB / 443.1 MB, free: 0.6875 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.005048, allocations: 4 kB / 443.1 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.005127, allocations: 43.98 kB / 443.2 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.005189, allocations: 31.84 kB / 443.2 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.547e-05/0.005245, allocations: 35.86 kB / 443.2 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.00547, allocations: 159.4 kB / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.005472, allocations: 0 / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.005473, allocations: 0 / 443.4 MB, free: 428 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.005479, allocations: 4 kB / 443.4 MB, free: 424 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.1978/0.2032, allocations: 403.2 kB / 443.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.2033, allocations: 10.75 kB / 443.8 MB, free: 46.64 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.12e-05/0.2033, allocations: 40.42 kB / 443.8 MB, free: 46.6 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.472e-05/0.2034, allocations: 14.2 kB / 443.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.2037, allocations: 166.8 kB / 444 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.2037, allocations: 5.156 kB / 444 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.2037, allocations: 8.062 kB / 444 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.2039, allocations: 137.9 kB / 444.1 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.2039, allocations: 2.594 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.204, allocations: 4.969 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.204, allocations: 4.688 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001056/0.2041, allocations: 55.62 kB / 444.2 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.2045, allocations: 482.4 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002221/0.2047, allocations: 90.75 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.2047, allocations: 38.22 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.2048, allocations: 1.688 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.2049, allocations: 115.8 kB / 444.9 MB, free: 45.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.2049, allocations: 0 / 444.9 MB, free: 45.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002462/0.2051, allocations: 152.4 kB / 445.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.2052, allocations: 51.41 kB / 445.1 MB, free: 45.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.2053, allocations: 205.5 kB / 445.3 MB, free: 45.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2053, allocations: 25.7 kB / 445.4 MB, free: 45.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.2053, allocations: 121.7 kB / 445.5 MB, free: 45.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.424e-05/0.2053, allocations: 29.69 kB / 445.5 MB, free: 45.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.2054, allocations: 29.25 kB / 445.5 MB, free: 45.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.2054, allocations: 334.2 kB / 445.9 MB, free: 45.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.765e-05/0.2055, allocations: 32.38 kB / 445.9 MB, free: 45.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.568e-05/0.2055, allocations: 62.22 kB / 445.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.374e-05/0.2056, allocations: 102.5 kB / 446 MB, free: 45.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2056, allocations: 3.234 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001337/0.2057, allocations: 142.9 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2057, allocations: 5.781 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2057, allocations: 0 / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.2058, allocations: 2.562 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.674e-05/0.2058, allocations: 29.66 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2058, allocations: 3.328 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.235e-05/0.2059, allocations: 12.14 kB / 446.2 MB, free: 45.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.2059, allocations: 9.875 kB / 446.3 MB, free: 45.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 5.638e-05/0.2059, allocations: 127.1 kB / 446.4 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.193e-05/0.2059, allocations: 21.03 kB / 446.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.2061, allocations: 129.7 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.2061, allocations: 2.531 kB / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.2061, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.2061, allocations: 0 / 446.5 MB, free: 44.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.139e-05/0.2062, allocations: 183.8 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2062, allocations: 3.469 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-05/0.2062, allocations: 14.59 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.2062, allocations: 3.5 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.2062, allocations: 4.969 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.2062, allocations: 0 / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2062, allocations: 3.188 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001961/0.2064, allocations: 197.4 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.517e-05/0.2065, allocations: 16.47 kB / 446.9 MB, free: 44.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2065, allocations: 6.688 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.604e-05/0.2065, allocations: 6.062 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.273e-05/0.2065, allocations: 9.219 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2065, allocations: 5.719 kB / 447 MB, free: 44.51 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.319e-05/0.2066, allocations: 146.6 kB / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2066, allocations: 0 / 447.1 MB, free: 44.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001526/0.2068, allocations: 31.61 kB / 447.1 MB, free: 44.41 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.0008914/0.2077, allocations: 1.069 MB / 448.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.2078, allocations: 82.75 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2078, allocations: 0 / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.056e-05/0.2078, allocations: 40.47 kB / 448.3 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.208, allocations: 40.39 kB / 448.4 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.2091, allocations: 1.767 MB / 450.1 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.645e-05/0.2092, allocations: 104 kB / 450.2 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.369e-05/0.2092, allocations: 27.64 kB / 450.3 MB, free: 42.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.2093, allocations: 40.44 kB / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.2093, allocations: 0 / 450.3 MB, free: 42.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01807/0.2274, allocations: 4.704 MB / 455 MB, free: 40.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.641/6.868, allocations: 3.156 kB / 455 MB, free: 40.75 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test10.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.853435035794973]