Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.0009241/0.0009241, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.0008195/0.0008195, allocations: 170 kB / 23.95 MB, free: 0.6055 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.8788/0.8788, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.2611/0.2611, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 439.7 MB, free: 4.16 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.521e-05/1.72e-05, allocations: 4.531 kB / 439.7 MB, free: 4.156 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003158/0.003175, allocations: 1.716 MB / 441.4 MB, free: 2.422 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004798, allocations: 0.9858 MB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.004902, allocations: 0 / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003801/0.005282, allocations: 47.64 kB / 442.4 MB, free: 1.383 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004028/0.005685, allocations: 95.53 kB / 442.5 MB, free: 1.289 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002414/0.005927, allocations: 83.59 kB / 442.6 MB, free: 1.207 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000212/0.006139, allocations: 115.6 kB / 442.7 MB, free: 1.094 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.006256, allocations: 8 kB / 442.7 MB, free: 1.086 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.006359, allocations: 59.81 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.006462, allocations: 39.89 kB / 442.8 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.006482, allocations: 4 kB / 442.8 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.006642, allocations: 107.8 kB / 442.9 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.006693, allocations: 19.92 kB / 443 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.156e-05/0.006734, allocations: 19.92 kB / 443 MB, free: 0.8398 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002407/0.006975, allocations: 187.4 kB / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.013e-06/0.006977, allocations: 0 / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.006978, allocations: 0 / 443.2 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.006981, allocations: 7.938 kB / 443.2 MB, free: 0.6484 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.0004489/0.00743, allocations: 361.4 kB / 443.5 MB, free: 272 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.007468, allocations: 8.031 kB / 443.5 MB, free: 264 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.832e-05/0.007497, allocations: 30.75 kB / 443.6 MB, free: 224 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.614e-05/0.007533, allocations: 12.89 kB / 443.6 MB, free: 212 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.007726, allocations: 153.5 kB / 443.7 MB, free: 32 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.007739, allocations: 4.375 kB / 443.7 MB, free: 28 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.065e-05/0.007759, allocations: 4.375 kB / 443.7 MB, free: 24 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.199/0.2068, allocations: 100.5 kB / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.2068, allocations: 0 / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2068, allocations: 3.094 kB / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.2068, allocations: 0 / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.046e-05/0.2069, allocations: 18.78 kB / 443.8 MB, free: 46.38 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003052/0.2072, allocations: 244.7 kB / 444.1 MB, free: 46.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.2074, allocations: 67.38 kB / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.2074, allocations: 29.08 kB / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.2074, allocations: 0 / 444.2 MB, free: 46.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001206/0.2075, allocations: 73.09 kB / 444.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.2075, allocations: 0 / 444.3 MB, free: 46.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004502/0.208, allocations: 210.6 kB / 444.5 MB, free: 46.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.104e-05/0.208, allocations: 83.81 kB / 444.5 MB, free: 45.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2081, allocations: 175 kB / 444.7 MB, free: 45.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.2081, allocations: 32.3 kB / 444.7 MB, free: 45.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.2082, allocations: 92.14 kB / 444.8 MB, free: 45.73 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.628e-05/0.2082, allocations: 35 kB / 444.9 MB, free: 45.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.2082, allocations: 26.7 kB / 444.9 MB, free: 45.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.588e-05/0.2082, allocations: 321.6 kB / 445.2 MB, free: 45.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.2083, allocations: 30.39 kB / 445.2 MB, free: 45.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-05/0.2083, allocations: 80.09 kB / 445.3 MB, free: 45.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.743e-05/0.2084, allocations: 85.3 kB / 445.4 MB, free: 45.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.2084, allocations: 0.7812 kB / 445.4 MB, free: 45.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001175/0.2085, allocations: 129.4 kB / 445.5 MB, free: 45.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.2085, allocations: 6.594 kB / 445.5 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2085, allocations: 3 kB / 445.5 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.2086, allocations: 0 / 445.5 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.721e-05/0.2086, allocations: 29.64 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.2086, allocations: 7.141 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.2087, allocations: 5.906 kB / 445.6 MB, free: 45.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.2087, allocations: 7.859 kB / 445.6 MB, free: 45.28 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 (13): * Single equations (assignments): 13 * 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.589e-05/0.2087, allocations: 119.1 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.229e-05/0.2087, allocations: 13.14 kB / 445.7 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001633/0.2089, allocations: 142.9 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-06/0.2089, allocations: 3.125 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.2089, allocations: 0 / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.2089, allocations: 3.938 kB / 445.9 MB, free: 45.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.2092, allocations: 393.3 kB / 446.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2092, allocations: 0 / 446.2 MB, free: 44.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.2092, allocations: 30.2 kB / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2092, allocations: 8.875 kB / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.2092, allocations: 0 / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.2092, allocations: 3.859 kB / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2092, allocations: 0 / 446.3 MB, free: 44.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.2093, allocations: 223.1 kB / 446.5 MB, free: 44.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.23e-05/0.2093, allocations: 16.95 kB / 446.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.2094, allocations: 4 kB / 446.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.016e-05/0.2094, allocations: 6.844 kB / 446.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.851e-05/0.2094, allocations: 9.969 kB / 446.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.2094, allocations: 8.734 kB / 446.5 MB, free: 44.62 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.22e-05/0.2095, allocations: 136.6 kB / 446.7 MB, free: 44.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2095, allocations: 0 / 446.7 MB, free: 44.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002059/0.2097, allocations: 52.41 kB / 446.7 MB, free: 44.52 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 (11): * Single equations (assignments): 9 * 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.001041/0.2107, allocations: 1.262 MB / 448 MB, free: 43.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001469/0.2109, allocations: 72.33 kB / 448.1 MB, free: 43.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.2109, allocations: 6.5 kB / 448.1 MB, free: 43.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.2109, allocations: 40.2 kB / 448.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2111, allocations: 28.75 kB / 448.1 MB, free: 43.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.2121, allocations: 1.685 MB / 449.8 MB, free: 42.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.2121, allocations: 95.31 kB / 449.9 MB, free: 42.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.334e-05/0.2122, allocations: 31.09 kB / 449.9 MB, free: 42.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.2122, allocations: 40.02 kB / 450 MB, free: 42.23 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2122, allocations: 192 / 450 MB, free: 42.23 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.227, allocations: 5.122 MB / 455.1 MB, free: 40.65 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/6.951, allocations: 7.078 kB / 455.1 MB, free: 40.65 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab_fmu --startTime=0 --stopTime=4 --stepSize=0.000799201 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test66_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test66_usertab/Test66_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.93730921857059]