Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.0007874/0.0007874, 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.001075/0.001075, 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.8993/0.8993, 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.2439/0.2439, allocations: 32.79 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.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.7 MB, free: 4.203 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.324e-05, allocations: 4.391 kB / 439.7 MB, free: 4.199 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002746/0.002769, allocations: 1.797 MB / 441.5 MB, free: 2.383 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002505/0.005274, allocations: 1.742 MB / 443.2 MB, free: 0.6328 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.005377, allocations: 4 kB / 443.2 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003131/0.00569, allocations: 55.56 kB / 443.3 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.006109, allocations: 143.2 kB / 443.4 MB, free: 444 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.006349, allocations: 107.6 kB / 443.5 MB, free: 336 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.006593, allocations: 211.3 kB / 443.7 MB, free: 124 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.845e-05/0.006642, allocations: 9.797 kB / 443.7 MB, free: 116 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000127/0.006769, allocations: 107.7 kB / 443.8 MB, free: 8 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2002/0.2069, allocations: 63.88 kB / 443.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.679e-05/0.207, allocations: 8.875 kB / 443.9 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002605/0.2073, allocations: 110.2 kB / 444 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.687e-05/0.2073, allocations: 43.73 kB / 444 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.773e-05/0.2074, allocations: 36 kB / 444.1 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.2077, allocations: 234 kB / 444.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2077, allocations: 0 / 444.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2077, allocations: 0 / 444.3 MB, free: 43.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.2077, allocations: 0 / 444.3 MB, free: 43.41 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.0005214/0.2083, allocations: 431.8 kB / 444.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.2083, allocations: 10.28 kB / 444.7 MB, free: 43.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.182e-05/0.2083, allocations: 37.11 kB / 444.8 MB, free: 43.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/0.2084, allocations: 21.39 kB / 444.8 MB, free: 43.02 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/0.2087, allocations: 193 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.2087, allocations: 3.281 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.2087, allocations: 3.219 kB / 445 MB, free: 42.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.2089, allocations: 155.1 kB / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.2089, allocations: 0 / 445.1 MB, free: 42.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.2089, allocations: 9.938 kB / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-06/0.2089, allocations: 0 / 445.1 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.282e-05/0.2089, allocations: 32.91 kB / 445.2 MB, free: 42.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2091, allocations: 179.7 kB / 445.4 MB, free: 42.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.2093, allocations: 107.9 kB / 445.5 MB, free: 42.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.2093, allocations: 43.91 kB / 445.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2094, allocations: 0 / 445.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.2095, allocations: 115.7 kB / 445.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.2095, allocations: 0 / 445.6 MB, free: 42.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003483/0.2099, allocations: 188.6 kB / 445.8 MB, free: 42.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.016e-05/0.2099, allocations: 128.5 kB / 445.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.2101, allocations: 253.8 kB / 446.2 MB, free: 42.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2101, allocations: 31.11 kB / 446.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.2102, allocations: 114.9 kB / 446.3 MB, free: 42.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.227e-05/0.2102, allocations: 24.86 kB / 446.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.2103, allocations: 36.23 kB / 446.4 MB, free: 42 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.2103, allocations: 329.6 kB / 446.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.126e-05/0.2104, allocations: 28.52 kB / 446.7 MB, free: 41.69 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.822e-05/0.2105, allocations: 119.9 kB / 446.8 MB, free: 41.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.2106, allocations: 95.02 kB / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2106, allocations: 0 / 446.9 MB, free: 41.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001889/0.2108, allocations: 150 kB / 447.1 MB, free: 41.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.2108, allocations: 11.31 kB / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.2108, allocations: 2.719 kB / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2108, allocations: 0 / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.211, allocations: 25.72 kB / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.659e-06/0.211, allocations: 4.969 kB / 447.1 MB, free: 41.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.2111, allocations: 17.39 kB / 447.1 MB, free: 41.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.2111, allocations: 8.641 kB / 447.2 MB, free: 41.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 0.000101/0.2112, allocations: 132 kB / 447.3 MB, free: 41.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.051e-05/0.2112, allocations: 21.44 kB / 447.3 MB, free: 41.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.2114, allocations: 164.4 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2114, allocations: 3 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.2115, allocations: 6.266 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2115, allocations: 0.875 kB / 447.5 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.2116, allocations: 188.7 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2116, allocations: 3.094 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.2116, allocations: 11.84 kB / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.2116, allocations: 0 / 447.7 MB, free: 41.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2116, allocations: 6.875 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2116, allocations: 1.688 kB / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2116, allocations: 0 / 447.7 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.2118, allocations: 188.7 kB / 447.9 MB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.526e-05/0.2118, allocations: 23.25 kB / 447.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.578e-05/0.2119, allocations: 11.94 kB / 447.9 MB, free: 41.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.208e-05/0.2119, allocations: 6.875 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.632e-05/0.212, allocations: 10.88 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.212, allocations: 7.531 kB / 447.9 MB, free: 41.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.2121, allocations: 183.1 kB / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2121, allocations: 0 / 448.1 MB, free: 41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000212/0.2123, allocations: 56.11 kB / 448.2 MB, free: 40.99 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001171/0.2135, allocations: 1.166 MB / 449.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.2137, allocations: 88.75 kB / 449.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2137, allocations: 4.062 kB / 449.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.2137, allocations: 42.66 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.214, allocations: 60.09 kB / 449.5 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.2153, allocations: 1.906 MB / 451.4 MB, free: 39.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.483e-05/0.2153, allocations: 117.6 kB / 451.5 MB, free: 38.99 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.226e-05/0.2154, allocations: 29.3 kB / 451.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.019e-05/0.2155, allocations: 58.92 kB / 451.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2155, allocations: 0 / 451.6 MB, free: 38.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.2375, allocations: 6.373 MB / 458 MB, free: 37.27 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.669/6.906, allocations: 9.719 kB / 458 MB, free: 37.27 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.868283811025321]