Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.0006549/0.0006549, 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.000874/0.000874, 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.8931/0.8931, allocations: 177.1 MB / 204.3 MB, free: 5.715 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.2519/0.2519, allocations: 32.79 MB / 293.5 MB, free: 1.223 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.041e-05/3.261e-05, allocations: 4.391 kB / 439.7 MB, free: 4.152 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002593/0.002626, allocations: 1.716 MB / 441.4 MB, free: 2.418 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003915, allocations: 0.9742 MB / 442.4 MB, free: 1.438 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.003991, allocations: 7.938 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003112/0.004302, allocations: 31.84 kB / 442.4 MB, free: 1.398 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.004587, allocations: 99.41 kB / 442.5 MB, free: 1.301 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001505/0.004738, allocations: 79.66 kB / 442.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000203/0.004941, allocations: 119.6 kB / 442.7 MB, free: 1.105 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.005067, allocations: 4 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.005171, allocations: 55.83 kB / 442.7 MB, free: 1.047 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.173e-05/0.005253, allocations: 23.91 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.00527, allocations: 4 kB / 442.8 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.087e-05/0.005351, allocations: 47.86 kB / 442.8 MB, free: 0.9727 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.005409, allocations: 23.86 kB / 442.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.06e-05/0.005449, allocations: 19.92 kB / 442.9 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.005653, allocations: 119.6 kB / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.005656, allocations: 0 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.005658, allocations: 0 / 443 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.005663, allocations: 4 kB / 443 MB, free: 0.8086 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.0004905/0.006154, allocations: 353.5 kB / 443.3 MB, free: 444 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.006195, allocations: 12.03 kB / 443.3 MB, free: 432 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.006227, allocations: 38.69 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.006259, allocations: 8.891 kB / 443.4 MB, free: 376 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.006496, allocations: 157.5 kB / 443.5 MB, free: 192 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006512, allocations: 8.359 kB / 443.6 MB, free: 184 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.006535, allocations: 8.312 kB / 443.6 MB, free: 176 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.006666, allocations: 53.98 kB / 443.6 MB, free: 116 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.006676, allocations: 8 kB / 443.6 MB, free: 108 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.006686, allocations: 4 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.00669, allocations: 0 / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.006749, allocations: 23.97 kB / 443.6 MB, free: 80 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2031/0.2098, allocations: 254.1 kB / 443.9 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.21, allocations: 58.14 kB / 444 MB, free: 46.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.618e-05/0.2101, allocations: 19.97 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.2101, allocations: 3.844 kB / 444 MB, free: 46.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.2102, allocations: 73.02 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.2102, allocations: 2.062 kB / 444 MB, free: 46.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004789/0.2107, allocations: 182.2 kB / 444.2 MB, free: 46.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.2107, allocations: 51.41 kB / 444.3 MB, free: 46.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2109, allocations: 213.8 kB / 444.5 MB, free: 46.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.2109, allocations: 34.11 kB / 444.5 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.2109, allocations: 103.9 kB / 444.6 MB, free: 45.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/0.2109, allocations: 27.75 kB / 444.6 MB, free: 45.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.211, allocations: 22 kB / 444.7 MB, free: 45.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.844e-05/0.211, allocations: 328.2 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.124e-05/0.211, allocations: 19.17 kB / 445 MB, free: 45.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.743e-05/0.2111, allocations: 38.86 kB / 445 MB, free: 45.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.809e-05/0.2111, allocations: 62.55 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2111, allocations: 1.938 kB / 445.1 MB, free: 45.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001182/0.2113, allocations: 111.5 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.2113, allocations: 7.656 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.2113, allocations: 0 / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.2113, allocations: 3.406 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.784e-05/0.2114, allocations: 17.09 kB / 445.2 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2114, allocations: 12.89 kB / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.2114, allocations: 0 / 445.3 MB, free: 45.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.2114, allocations: 2.875 kB / 445.3 MB, free: 45.57 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.894e-05/0.2115, allocations: 134 kB / 445.4 MB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.2115, allocations: 17.78 kB / 445.4 MB, free: 45.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/0.2116, allocations: 124.2 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2116, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2117, allocations: 2.906 kB / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2117, allocations: 0 / 445.5 MB, free: 45.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2119, allocations: 375 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2119, allocations: 3.094 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.2119, allocations: 8.719 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2119, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.2119, allocations: 13.88 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.212, allocations: 1.375 kB / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.212, allocations: 0 / 445.9 MB, free: 45.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001119/0.2121, allocations: 220.7 kB / 446.1 MB, free: 44.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.331e-05/0.2121, allocations: 13.28 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.2121, allocations: 2.625 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.766e-05/0.2121, allocations: 0 / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.116e-05/0.2122, allocations: 12.75 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.2122, allocations: 2.594 kB / 446.2 MB, free: 44.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.779e-05/0.2122, allocations: 165.6 kB / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2122, allocations: 0 / 446.3 MB, free: 44.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002506/0.2125, allocations: 27.38 kB / 446.4 MB, free: 44.85 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.00104/0.2135, allocations: 1.139 MB / 447.5 MB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.2137, allocations: 67.94 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2137, allocations: 0 / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.2137, allocations: 25.25 kB / 447.6 MB, free: 44.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.214, allocations: 25.78 kB / 447.6 MB, free: 44.08 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.215, allocations: 1.717 MB / 449.3 MB, free: 42.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.991e-05/0.2151, allocations: 101.5 kB / 449.4 MB, free: 42.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.113e-05/0.2151, allocations: 20.3 kB / 449.5 MB, free: 42.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/0.2152, allocations: 40.42 kB / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/0.2152, allocations: 0 / 449.5 MB, free: 42.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.2343, allocations: 4.338 MB / 453.8 MB, free: 41.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.623/6.857, allocations: 5.531 kB / 453.8 MB, free: 41.2 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.840656244195998]