Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.0008576/0.0008576, 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.00116/0.00116, allocations: 174 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.8818/0.8818, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2264/0.2264, allocations: 32.78 MB / 293.5 MB, free: 1.227 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.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test4,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.232e-05, allocations: 4.672 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003022/0.003044, allocations: 1.731 MB / 441.4 MB, free: 2.406 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.004342, allocations: 0.9742 MB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.498e-05/0.004417, allocations: 3.938 kB / 442.4 MB, free: 1.422 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.00476, allocations: 87.67 kB / 442.5 MB, free: 1.336 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.005028, allocations: 123.4 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001541/0.005182, allocations: 71.67 kB / 442.7 MB, free: 1.145 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001639/0.005346, allocations: 131.5 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.215e-05/0.005438, allocations: 8 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.005522, allocations: 71.8 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.005603, allocations: 51.88 kB / 442.9 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.005618, allocations: 4 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.76e-05/0.005705, allocations: 67.84 kB / 443 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.606e-05/0.005761, allocations: 27.91 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.005798, allocations: 23.88 kB / 443 MB, free: 0.7656 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.005966, allocations: 139.5 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.00597, allocations: 0 / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.005972, allocations: 4 kB / 443.2 MB, free: 0.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.077e-06/0.005976, allocations: 0 / 443.2 MB, free: 0.625 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004043/0.00638, allocations: 365.4 kB / 443.5 MB, free: 244 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.006413, allocations: 8.031 kB / 443.5 MB, free: 236 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.607e-05/0.006439, allocations: 34.75 kB / 443.6 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.006468, allocations: 12.84 kB / 443.6 MB, free: 180 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1665/0.173, allocations: 154.8 kB / 443.7 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.173, allocations: 4.781 kB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.173, allocations: 9.344 kB / 443.8 MB, free: 46.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.1732, allocations: 61.61 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1732, allocations: 1.938 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1732, allocations: 1.562 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.1732, allocations: 2.75 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.57e-05/0.1733, allocations: 21.94 kB / 443.8 MB, free: 46.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003153/0.1736, allocations: 271.9 kB / 444.1 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001848/0.1738, allocations: 66.72 kB / 444.2 MB, free: 46.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.1738, allocations: 22.67 kB / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/0.1738, allocations: 0 / 444.2 MB, free: 46.19 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001128/0.1739, allocations: 76.58 kB / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1739, allocations: 0 / 444.3 MB, free: 46.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005255/0.1745, allocations: 257.7 kB / 444.5 MB, free: 46.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.661e-05/0.1745, allocations: 55.91 kB / 444.6 MB, free: 46.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.1746, allocations: 228.2 kB / 444.8 MB, free: 45.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.1746, allocations: 28.61 kB / 444.8 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.192e-05/0.1747, allocations: 107.8 kB / 444.9 MB, free: 45.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.1747, allocations: 34.09 kB / 445 MB, free: 45.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.1747, allocations: 29.09 kB / 445 MB, free: 45.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.401e-05/0.1748, allocations: 327.4 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.059e-05/0.1748, allocations: 30.25 kB / 445.3 MB, free: 45.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.263e-05/0.1748, allocations: 47.14 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.628e-05/0.1749, allocations: 85.52 kB / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.21e-07/0.1749, allocations: 0 / 445.5 MB, free: 45.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001162/0.175, allocations: 136.5 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.175, allocations: 10.61 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.175, allocations: 3.328 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.1751, allocations: 3.469 kB / 445.6 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.1751, allocations: 21.16 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1751, allocations: 6.172 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.1751, allocations: 0 / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.1751, allocations: 9.875 kB / 445.7 MB, free: 45.39 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 (13): * Single equations (assignments): 13 * 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.351e-05/0.1752, allocations: 131.7 kB / 445.8 MB, free: 45.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.183e-05/0.1752, allocations: 17.19 kB / 445.8 MB, free: 45.26 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.1754, allocations: 157.4 kB / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1754, allocations: 6.656 kB / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1754, allocations: 0 / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.1754, allocations: 0 / 446 MB, free: 45.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000264/0.1756, allocations: 423.1 kB / 446.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1757, allocations: 0 / 446.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.58e-05/0.1757, allocations: 19.09 kB / 446.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1757, allocations: 0 / 446.4 MB, free: 44.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1757, allocations: 12.38 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1757, allocations: 3.594 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1757, allocations: 3.062 kB / 446.4 MB, free: 44.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.1758, allocations: 239.9 kB / 446.7 MB, free: 44.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.1758, allocations: 13.75 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1758, allocations: 10.22 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.1759, allocations: 1.375 kB / 446.7 MB, free: 44.65 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.1759, allocations: 13.19 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.1759, allocations: 10 kB / 446.7 MB, free: 44.64 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.176, allocations: 174.1 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.176, allocations: 3.312 kB / 446.9 MB, free: 44.54 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001762/0.1762, allocations: 31.03 kB / 446.9 MB, free: 44.54 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 (12): * Single equations (assignments): 10 * 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.0009849/0.1771, allocations: 1.223 MB / 448.1 MB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001253/0.1773, allocations: 83.84 kB / 448.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.1773, allocations: 0 / 448.2 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.1773, allocations: 44.41 kB / 448.3 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1775, allocations: 32.52 kB / 448.3 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1786, allocations: 1.826 MB / 450.1 MB, free: 42.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.857e-05/0.1787, allocations: 114 kB / 450.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.117e-05/0.1787, allocations: 15.2 kB / 450.2 MB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.714e-05/0.1788, allocations: 43.69 kB / 450.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1788, allocations: 0 / 450.3 MB, free: 42.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.1953, allocations: 4.727 MB / 455 MB, free: 40.72 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.696/6.892, allocations: 13.44 kB / 455 MB, free: 40.71 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test4.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.793106595985591]