Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.0008167/0.0008167, allocations: 79.69 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.0008079/0.0008079, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9057/0.9057, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2422/0.2422, allocations: 34.24 MB / 294.9 MB, free: 0.7227 MB / 266.7 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.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 442.3 MB, free: 1.582 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.783e-05, allocations: 6.781 kB / 442.3 MB, free: 1.574 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.1789/0.179, allocations: 1.707 MB / 444 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001053/0.18, allocations: 0.974 MB / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.1801, allocations: 0 / 444.9 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002486/0.1803, allocations: 39.77 kB / 445 MB, free: 43.09 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1806, allocations: 91.14 kB / 445.1 MB, free: 43.06 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001168/0.1807, allocations: 88.3 kB / 445.2 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001334/0.1808, allocations: 106.5 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.1809, allocations: 12.52 kB / 445.3 MB, free: 43.01 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.874e-05/0.181, allocations: 54.42 kB / 445.3 MB, free: 43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.181, allocations: 29.44 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.48e-05/0.1811, allocations: 5.438 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.618e-05/0.1811, allocations: 40.05 kB / 445.4 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.1812, allocations: 21.23 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.317e-05/0.1812, allocations: 17.92 kB / 445.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001487/0.1814, allocations: 114.3 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.1814, allocations: 0.5625 kB / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1814, allocations: 0 / 445.6 MB, free: 42.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.1814, allocations: 1.625 kB / 445.6 MB, free: 42.95 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003719/0.1817, allocations: 338 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1818, allocations: 11.44 kB / 445.9 MB, free: 42.65 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.165e-05/0.1818, allocations: 34.69 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1818, allocations: 13.45 kB / 445.9 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.182, allocations: 145.7 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.182, allocations: 7.094 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.182, allocations: 3.406 kB / 446.1 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.1822, allocations: 56.47 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.1822, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.1822, allocations: 0 / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.1822, allocations: 3.406 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.027e-05/0.1822, allocations: 26.06 kB / 446.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002544/0.1825, allocations: 262.2 kB / 446.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1826, allocations: 58.88 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.124e-05/0.1826, allocations: 20.89 kB / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.1826, allocations: 0 / 446.5 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.1828, allocations: 66.31 kB / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.1828, allocations: 0 / 446.6 MB, free: 42.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004084/0.1832, allocations: 182.1 kB / 446.8 MB, free: 42.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.1832, allocations: 57.88 kB / 446.8 MB, free: 41.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.354e-05/0.1833, allocations: 172.8 kB / 447 MB, free: 41.89 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.1833, allocations: 31.92 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.1833, allocations: 101 kB / 447.1 MB, free: 41.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.261e-05/0.1833, allocations: 24.7 kB / 447.1 MB, free: 41.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-05/0.1834, allocations: 27.55 kB / 447.2 MB, free: 41.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.947e-05/0.1834, allocations: 325 kB / 447.5 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.435e-05/0.1834, allocations: 26.77 kB / 447.5 MB, free: 41.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.622e-05/0.1835, allocations: 34.12 kB / 447.5 MB, free: 41.41 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.438e-05/0.1835, allocations: 65.8 kB / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1835, allocations: 0 / 447.6 MB, free: 41.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001043/0.1836, allocations: 106.6 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1837, allocations: 5.312 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.1837, allocations: 9.672 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1837, allocations: 0 / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.802e-05/0.1837, allocations: 17.47 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1838, allocations: 2.156 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/0.1838, allocations: 5.922 kB / 447.7 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.535e-06/0.1838, allocations: 6.438 kB / 447.8 MB, free: 41.34 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 (10): * Single equations (assignments): 10 * 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.263e-05/0.1838, allocations: 126.5 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.013e-05/0.1838, allocations: 9.703 kB / 447.9 MB, free: 41.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001456/0.184, allocations: 119.3 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.184, allocations: 1 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.184, allocations: 0 / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.184, allocations: 5.828 kB / 448 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.1842, allocations: 369.9 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1842, allocations: 2.719 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.262e-05/0.1843, allocations: 7.969 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1843, allocations: 4.031 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1843, allocations: 13.14 kB / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1843, allocations: 0 / 448.4 MB, free: 40.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.1843, allocations: 6.625 kB / 448.4 MB, free: 40.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001048/0.1844, allocations: 211.1 kB / 448.6 MB, free: 40.71 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.1844, allocations: 10.53 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.1844, allocations: 2.688 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.1844, allocations: 3.328 kB / 448.6 MB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1845, allocations: 16.42 kB / 448.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1845, allocations: 2.719 kB / 448.6 MB, free: 40.69 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.166e-05/0.1845, allocations: 138.8 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1845, allocations: 3.938 kB / 448.8 MB, free: 40.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.1847, allocations: 26.62 kB / 448.8 MB, free: 40.58 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.000914/0.1856, allocations: 1.143 MB / 450 MB, free: 39.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.1858, allocations: 54.5 kB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1858, allocations: 2.844 kB / 450 MB, free: 39.78 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.28e-05/0.1858, allocations: 28.86 kB / 450 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.186, allocations: 28.69 kB / 450.1 MB, free: 39.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009038/0.1869, allocations: 1.621 MB / 451.7 MB, free: 38.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.038e-05/0.187, allocations: 90.56 kB / 451.8 MB, free: 38.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.821e-05/0.187, allocations: 16.78 kB / 451.8 MB, free: 38.33 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.698e-05/0.1871, allocations: 36.34 kB / 451.8 MB, free: 38.31 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.1871, allocations: 3.938 kB / 451.8 MB, free: 38.31 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01661/0.2037, allocations: 4.178 MB / 456 MB, free: 36.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/6.969, allocations: 6.844 kB / 456 MB, free: 36.91 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test2.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.942744727246463]