Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.0009265/0.0009265, allocations: 91.67 kB / 20.68 MB, free: 3.871 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.0008338/0.0008338, allocations: 166 kB / 23.95 MB, free: 0.5977 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.9067/0.9067, allocations: 177.1 MB / 204.3 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.2797/0.2797, allocations: 32.78 MB / 293.5 MB, free: 1.234 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.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.683e-05/1.832e-05, allocations: 8.047 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.00203/0.002049, allocations: 1.719 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.003145, allocations: 0.9742 MB / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.003216, allocations: 0 / 442.4 MB, free: 1.453 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002599/0.003476, allocations: 39.75 kB / 442.4 MB, free: 1.414 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.003748, allocations: 95.48 kB / 442.5 MB, free: 1.32 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000164/0.003912, allocations: 79.61 kB / 442.6 MB, free: 1.242 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.004059, allocations: 111.6 kB / 442.7 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.365e-05/0.004143, allocations: 12 kB / 442.7 MB, free: 1.121 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.004217, allocations: 51.83 kB / 442.7 MB, free: 1.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.573e-05/0.004282, allocations: 27.91 kB / 442.8 MB, free: 1.043 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.004296, allocations: 4 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.004374, allocations: 43.92 kB / 442.8 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.092e-05/0.004425, allocations: 27.84 kB / 442.8 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.004456, allocations: 15.94 kB / 442.9 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.004617, allocations: 123.5 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.004619, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.00462, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.004623, allocations: 0 / 443 MB, free: 0.832 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.0004443/0.005068, allocations: 353.5 kB / 443.3 MB, free: 468 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.0051, allocations: 12.03 kB / 443.3 MB, free: 456 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.005127, allocations: 34.69 kB / 443.4 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.595e-05/0.005153, allocations: 8.891 kB / 443.4 MB, free: 404 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.005332, allocations: 154.2 kB / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.005343, allocations: 384 / 443.5 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.005359, allocations: 4.375 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.005468, allocations: 61.97 kB / 443.6 MB, free: 152 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.005478, allocations: 3.938 kB / 443.6 MB, free: 148 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.005486, allocations: 8 kB / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.005491, allocations: 0 / 443.6 MB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.025e-05/0.005541, allocations: 23.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.17/0.1756, allocations: 247.8 kB / 443.9 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1757, allocations: 57.48 kB / 443.9 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.1758, allocations: 19.09 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1758, allocations: 0 / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000117/0.1759, allocations: 69.14 kB / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.1759, allocations: 0 / 444 MB, free: 46.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004158/0.1763, allocations: 193.3 kB / 444.2 MB, free: 46.22 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.204e-05/0.1763, allocations: 56.58 kB / 444.3 MB, free: 46.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.1765, allocations: 202.6 kB / 444.5 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.1765, allocations: 28.02 kB / 444.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.1765, allocations: 105.7 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.1765, allocations: 24.69 kB / 444.6 MB, free: 45.94 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.895e-05/0.1765, allocations: 26.83 kB / 444.6 MB, free: 45.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.911e-05/0.1766, allocations: 320.7 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.526e-05/0.1766, allocations: 21.73 kB / 445 MB, free: 45.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.502e-05/0.1766, allocations: 38.72 kB / 445 MB, free: 45.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.288e-05/0.1767, allocations: 61.67 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1767, allocations: 2.906 kB / 445.1 MB, free: 45.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.65e-05/0.1768, allocations: 111.8 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1768, allocations: 3.625 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.1768, allocations: 2.906 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.1768, allocations: 5 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.1769, allocations: 21.75 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1769, allocations: 6.203 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.055e-05/0.1769, allocations: 2.906 kB / 445.2 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.862e-06/0.1769, allocations: 3.469 kB / 445.2 MB, free: 45.54 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.108e-05/0.177, allocations: 134.2 kB / 445.4 MB, free: 45.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.189e-05/0.177, allocations: 13.73 kB / 445.4 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.1772, allocations: 114.8 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.1772, allocations: 7.781 kB / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1772, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1772, allocations: 0 / 445.5 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.1774, allocations: 376.7 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.1774, allocations: 3.328 kB / 445.9 MB, free: 45.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.1774, allocations: 15.38 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1774, allocations: 2.625 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.403e-06/0.1774, allocations: 4.969 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1774, allocations: 0 / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1774, allocations: 1.125 kB / 445.9 MB, free: 45.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001006/0.1775, allocations: 219.8 kB / 446.1 MB, free: 44.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.1775, allocations: 16.48 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1776, allocations: 0 / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.848e-05/0.1776, allocations: 2.688 kB / 446.1 MB, free: 44.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.1776, allocations: 10.09 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.1776, allocations: 2.875 kB / 446.1 MB, free: 44.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.626e-05/0.1777, allocations: 152 kB / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1777, allocations: 0 / 446.3 MB, free: 44.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001684/0.1779, allocations: 25.36 kB / 446.3 MB, free: 44.84 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.0008644/0.1787, allocations: 1.153 MB / 447.5 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001158/0.1788, allocations: 57.42 kB / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1788, allocations: 0 / 447.5 MB, free: 44.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.855e-05/0.1789, allocations: 32.88 kB / 447.5 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.1791, allocations: 21.86 kB / 447.6 MB, free: 44.05 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008895/0.18, allocations: 1.687 MB / 449.3 MB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.407e-05/0.18, allocations: 87.81 kB / 449.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.443e-05/0.1801, allocations: 16.62 kB / 449.4 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/0.1801, allocations: 39.86 kB / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of SimCode: time 4.01e-07/0.1801, allocations: 2.406 kB / 449.4 MB, free: 42.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.1946, allocations: 4.294 MB / 453.7 MB, free: 41.19 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/6.803, allocations: 0 / 453.7 MB, free: 41.19 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004996 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test29.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29.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.814291515387595]