Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.0008897/0.0008897, allocations: 83.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.001013/0.001013, allocations: 170 kB / 23.95 MB, free: 0.6172 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.8996/0.8996, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.2453/0.2453, allocations: 32.79 MB / 293.5 MB, free: 1.203 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.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 3.938 kB / 439.7 MB, free: 4.176 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.222e-05/1.372e-05, allocations: 2.281 kB / 439.7 MB, free: 4.172 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002231/0.002245, allocations: 1.72 MB / 441.4 MB, free: 2.434 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00119/0.003434, allocations: 0.978 MB / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.003506, allocations: 0 / 442.4 MB, free: 1.449 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002762/0.003782, allocations: 51.73 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.004059, allocations: 107.5 kB / 442.5 MB, free: 1.293 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001552/0.004214, allocations: 79.61 kB / 442.6 MB, free: 1.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004374, allocations: 99.69 kB / 442.7 MB, free: 1.117 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004475, allocations: 11.98 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.07e-05/0.004556, allocations: 59.78 kB / 442.8 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.004626, allocations: 27.91 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.004642, allocations: 4 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.111e-05/0.004723, allocations: 43.92 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.708e-05/0.00478, allocations: 35.83 kB / 442.9 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.004823, allocations: 19.88 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.004996, allocations: 131.5 kB / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.753e-06/0.004998, allocations: 0 / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.004999, allocations: 0 / 443 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005003, allocations: 0 / 443 MB, free: 0.7891 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.0004406/0.005444, allocations: 393.1 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.00548, allocations: 8.031 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/0.005509, allocations: 34.69 kB / 443.4 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.005541, allocations: 16.84 kB / 443.5 MB, free: 316 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.005735, allocations: 154.5 kB / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.005747, allocations: 384 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.005772, allocations: 384 / 443.6 MB, free: 132 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.005895, allocations: 65.97 kB / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.005905, allocations: 0 / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-06/0.005914, allocations: 0 / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005918, allocations: 0 / 443.7 MB, free: 60 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.496e-05/0.005973, allocations: 27.98 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1673/0.1732, allocations: 265 kB / 444 MB, free: 46.36 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.1734, allocations: 56.36 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1734, allocations: 20.94 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.1734, allocations: 2.938 kB / 444 MB, free: 46.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.1736, allocations: 72.33 kB / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.1736, allocations: 0 / 444.1 MB, free: 46.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004501/0.174, allocations: 196.4 kB / 444.3 MB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.675e-05/0.174, allocations: 56.56 kB / 444.4 MB, free: 46.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.1742, allocations: 275.1 kB / 444.6 MB, free: 46.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.1742, allocations: 27.95 kB / 444.7 MB, free: 46.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.898e-05/0.1743, allocations: 119 kB / 444.8 MB, free: 45.97 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.1743, allocations: 22.38 kB / 444.8 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.1743, allocations: 28.11 kB / 444.8 MB, free: 45.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.71e-05/0.1743, allocations: 330.4 kB / 445.1 MB, free: 45.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.927e-05/0.1744, allocations: 18.81 kB / 445.2 MB, free: 45.63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.703e-05/0.1744, allocations: 36.27 kB / 445.2 MB, free: 45.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.484e-05/0.1745, allocations: 64.69 kB / 445.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1745, allocations: 0.7188 kB / 445.3 MB, free: 45.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001111/0.1746, allocations: 112.9 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1746, allocations: 7.281 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1746, allocations: 0 / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1746, allocations: 5.781 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.497e-05/0.1747, allocations: 14.88 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1747, allocations: 7.516 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.1747, allocations: 3 kB / 445.4 MB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.1748, allocations: 10.03 kB / 445.4 MB, free: 45.55 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 6.624e-05/0.1748, allocations: 137.7 kB / 445.6 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.1748, allocations: 23.89 kB / 445.6 MB, free: 45.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.175, allocations: 125.4 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.175, allocations: 0 / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.175, allocations: 2.719 kB / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.175, allocations: 0 / 445.7 MB, free: 45.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000243/0.1752, allocations: 380.5 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1752, allocations: 4.406 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.157e-05/0.1753, allocations: 11.16 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1753, allocations: 2.625 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.1753, allocations: 8.969 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1753, allocations: 1.375 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1753, allocations: 6.188 kB / 446.1 MB, free: 45.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.678e-05/0.1754, allocations: 216.1 kB / 446.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.152e-05/0.1754, allocations: 13.72 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.638e-05/0.1754, allocations: 9.656 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.887e-05/0.1754, allocations: 2.5 kB / 446.3 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.1755, allocations: 9.719 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.1755, allocations: 2.719 kB / 446.4 MB, free: 44.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.937e-05/0.1756, allocations: 214.3 kB / 446.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1756, allocations: 0 / 446.6 MB, free: 44.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001698/0.1757, allocations: 29.41 kB / 446.6 MB, free: 44.79 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.0009184/0.1767, allocations: 1.142 MB / 447.7 MB, free: 44.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001192/0.1768, allocations: 57.8 kB / 447.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1768, allocations: 0 / 447.8 MB, free: 44.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.1768, allocations: 39.98 kB / 447.8 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.0002313/0.177, allocations: 31 kB / 447.9 MB, free: 44 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.1781, allocations: 1.852 MB / 449.7 MB, free: 42.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.419e-05/0.1781, allocations: 108.4 kB / 449.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.653e-05/0.1781, allocations: 21.44 kB / 449.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.903e-05/0.1782, allocations: 44.22 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1782, allocations: 2.406 kB / 449.9 MB, free: 42.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01606/0.1943, allocations: 4.628 MB / 454.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.791/6.985, allocations: 2.812 kB / 454.5 MB, free: 41.04 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --stepSize=0.000498703 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.93307045288384]