Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.0008571/0.0008571, 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.0008128/0.0008128, 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.9205/0.9205, 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.2516/0.2516, allocations: 32.8 MB / 293.5 MB, free: 1.246 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.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 439.7 MB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.413e-05, allocations: 8.469 kB / 439.7 MB, free: 4.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002306/0.00233, allocations: 1.716 MB / 441.4 MB, free: 2.445 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.003481, allocations: 0.9703 MB / 442.4 MB, free: 1.469 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.884e-05/0.00356, allocations: 7.938 kB / 442.4 MB, free: 1.461 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.003851, allocations: 35.84 kB / 442.4 MB, free: 1.426 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.004147, allocations: 99.47 kB / 442.5 MB, free: 1.328 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001865/0.004334, allocations: 79.59 kB / 442.6 MB, free: 1.25 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004488, allocations: 115.6 kB / 442.7 MB, free: 1.137 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.004581, allocations: 7.984 kB / 442.7 MB, free: 1.129 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.916e-05/0.004671, allocations: 51.89 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.004739, allocations: 23.91 kB / 442.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004754, allocations: 4 kB / 442.8 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.951e-05/0.004834, allocations: 51.86 kB / 442.8 MB, free: 1 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.417e-05/0.004888, allocations: 23.92 kB / 442.8 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.547e-05/0.004923, allocations: 15.94 kB / 442.9 MB, free: 0.9609 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.005097, allocations: 123.5 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.005101, allocations: 7.938 kB / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005102, allocations: 0 / 443 MB, free: 0.832 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005106, allocations: 4 kB / 443 MB, free: 0.8281 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.0004134/0.005519, allocations: 341.5 kB / 443.3 MB, free: 476 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.005559, allocations: 12.03 kB / 443.3 MB, free: 464 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.946e-05/0.005588, allocations: 38.69 kB / 443.4 MB, free: 416 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.005624, allocations: 8.891 kB / 443.4 MB, free: 408 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.005815, allocations: 161.5 kB / 443.5 MB, free: 220 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.005829, allocations: 12.36 kB / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.005846, allocations: 384 / 443.6 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.005963, allocations: 65.92 kB / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.005973, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.393e-06/0.00598, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.005984, allocations: 0 / 443.6 MB, free: 136 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.868e-05/0.006033, allocations: 19.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2009/0.207, allocations: 261.3 kB / 443.9 MB, free: 46.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.2071, allocations: 56.3 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.723e-05/0.2072, allocations: 22.92 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.2072, allocations: 3.719 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001453/0.2073, allocations: 67.73 kB / 444 MB, free: 46.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.595e-06/0.2073, allocations: 2.531 kB / 444 MB, free: 46.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004988/0.2078, allocations: 182.1 kB / 444.2 MB, free: 46.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/0.2079, allocations: 55.5 kB / 444.3 MB, free: 46.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.208, allocations: 211.9 kB / 444.5 MB, free: 46.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.208, allocations: 32.8 kB / 444.5 MB, free: 45.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.2081, allocations: 105.2 kB / 444.6 MB, free: 45.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2081, allocations: 26.25 kB / 444.6 MB, free: 45.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.2081, allocations: 22.7 kB / 444.7 MB, free: 45.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.17e-05/0.2082, allocations: 328 kB / 445 MB, free: 45.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.764e-05/0.2082, allocations: 20.25 kB / 445 MB, free: 45.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.299e-05/0.2082, allocations: 41.98 kB / 445 MB, free: 45.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.2083, allocations: 63.03 kB / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2083, allocations: 0 / 445.1 MB, free: 45.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001445/0.2085, allocations: 106.1 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.2085, allocations: 8.109 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.2085, allocations: 2.375 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.2085, allocations: 3.688 kB / 445.2 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.195e-05/0.2086, allocations: 24.48 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.2086, allocations: 3.203 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.553e-05/0.2086, allocations: 2.938 kB / 445.3 MB, free: 45.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2086, allocations: 6.297 kB / 445.3 MB, free: 45.49 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 7.32e-05/0.2087, allocations: 127.2 kB / 445.4 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.2087, allocations: 17.03 kB / 445.4 MB, free: 45.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.2089, allocations: 125.3 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2089, allocations: 3.5 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2089, allocations: 3.188 kB / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.2089, allocations: 0 / 445.5 MB, free: 45.33 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.2092, allocations: 370.7 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.2092, allocations: 2.625 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/0.2092, allocations: 11.17 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2092, allocations: 0 / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.2092, allocations: 5.094 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2092, allocations: 1.375 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.2093, allocations: 6.406 kB / 445.9 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.2094, allocations: 222.3 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.337e-05/0.2094, allocations: 10.78 kB / 446.1 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2094, allocations: 6.203 kB / 446.2 MB, free: 44.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.972e-05/0.2094, allocations: 6.875 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.955e-05/0.2095, allocations: 6.109 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.2095, allocations: 2.688 kB / 446.2 MB, free: 44.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.574e-05/0.2095, allocations: 161.5 kB / 446.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2095, allocations: 4.438 kB / 446.3 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001781/0.2097, allocations: 27.64 kB / 446.4 MB, free: 44.78 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.0009545/0.2107, allocations: 1.136 MB / 447.5 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001358/0.2108, allocations: 65.5 kB / 447.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2108, allocations: 0 / 447.6 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.128e-05/0.2109, allocations: 28.67 kB / 447.6 MB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.2111, allocations: 27.83 kB / 447.6 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001066/0.2122, allocations: 1.717 MB / 449.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.38e-05/0.2122, allocations: 97.97 kB / 449.4 MB, free: 42.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.2123, allocations: 19.64 kB / 449.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.2123, allocations: 43.06 kB / 449.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of SimCode: time 7.51e-07/0.2123, allocations: 0 / 449.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.2306, allocations: 4.339 MB / 453.8 MB, free: 41.12 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.697/6.927, allocations: 2.938 kB / 453.8 MB, free: 41.12 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test24.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.958622805774212]