Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 114.7 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 191.7 kB / 20.07 MB, free: 2.984 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 207.6 MB / 230.5 MB, free: 4.047 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3331/0.3331, allocations: 44.23 MB / 326.5 MB, free: 6.824 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002214/0.002214, allocations: 75.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2824, allocations: 60.99 MB / 0.511 GB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.0026/0.285, allocations: 1.718 MB / 0.5127 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.286, allocations: 0.8052 MB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.2861, allocations: 1.375 kB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.2864, allocations: 105.4 kB / 0.5135 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.2867, allocations: 91.91 kB / 0.5136 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.2869, allocations: 80.62 kB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000154/0.2871, allocations: 122.9 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.2872, allocations: 11.55 kB / 0.5138 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.429e-05/0.2872, allocations: 56.95 kB / 0.5139 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.2873, allocations: 74.16 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2874, allocations: 4.125 kB / 0.514 GB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.675e-05/0.2874, allocations: 47.33 kB / 0.514 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.2875, allocations: 26.83 kB / 0.514 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.941e-05/0.2875, allocations: 44.73 kB / 0.5141 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.2877, allocations: 129.9 kB / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.2877, allocations: 0.875 kB / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2877, allocations: 4 kB / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.2877, allocations: 0 / 0.5142 GB, free: 10.85 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004686/0.2882, allocations: 439.9 kB / 0.5146 GB, free: 10.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.2883, allocations: 13.98 kB / 0.5146 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.121e-05/0.2883, allocations: 40.25 kB / 0.5147 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.2883, allocations: 13.78 kB / 0.5147 GB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2886, allocations: 235.2 kB / 0.5149 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2886, allocations: 2.969 kB / 0.5149 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.2886, allocations: 14.08 kB / 0.5149 GB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.2888, allocations: 60.16 kB / 0.515 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.2888, allocations: 5.109 kB / 0.515 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.2888, allocations: 0 / 0.515 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2888, allocations: 1.188 kB / 0.515 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.2889, allocations: 31.75 kB / 0.515 GB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003242/0.2892, allocations: 302.1 kB / 0.5153 GB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.2894, allocations: 70.8 kB / 0.5154 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.2895, allocations: 26.53 kB / 0.5154 GB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.885e-05/0.2895, allocations: 5 kB / 0.5154 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.2896, allocations: 68.33 kB / 0.5155 GB, free: 9.562 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.2896, allocations: 0 / 0.5155 GB, free: 9.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005648/0.2902, allocations: 214.8 kB / 0.5157 GB, free: 9.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.2902, allocations: 51.41 kB / 0.5157 GB, free: 9.375 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/0.2904, allocations: 249.1 kB / 0.516 GB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.2904, allocations: 27.14 kB / 0.516 GB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.398e-05/0.2905, allocations: 111.6 kB / 0.5161 GB, free: 9.066 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.2905, allocations: 27.95 kB / 0.5161 GB, free: 9.043 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.57e-05/0.2905, allocations: 24.91 kB / 0.5161 GB, free: 9.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.879e-05/0.2906, allocations: 324.2 kB / 0.5165 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.2907, allocations: 29.61 kB / 0.5165 GB, free: 8.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.189e-05/0.2907, allocations: 40.83 kB / 0.5165 GB, free: 8.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.2908, allocations: 75.81 kB / 0.5166 GB, free: 8.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2908, allocations: 1.375 kB / 0.5166 GB, free: 8.602 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001806/0.291, allocations: 119 kB / 0.5167 GB, free: 8.527 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.291, allocations: 5.5 kB / 0.5167 GB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.291, allocations: 5.406 kB / 0.5167 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.291, allocations: 1.375 kB / 0.5167 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.574e-05/0.2911, allocations: 17.73 kB / 0.5167 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.2911, allocations: 1.375 kB / 0.5167 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.2912, allocations: 10.81 kB / 0.5168 GB, free: 8.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.2912, allocations: 2.75 kB / 0.5168 GB, free: 8.512 MB / 382.1 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 (11): * Single equations (assignments): 11 * 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.88e-05/0.2913, allocations: 140.8 kB / 0.5169 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.2913, allocations: 17.41 kB / 0.5169 GB, free: 8.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.2914, allocations: 29.64 kB / 0.5169 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.2914, allocations: 1.375 kB / 0.5169 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2914, allocations: 0 / 0.5169 GB, free: 8.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.2914, allocations: 5.312 kB / 0.5169 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.2918, allocations: 411 kB / 0.5173 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2918, allocations: 5.359 kB / 0.5173 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.834e-05/0.2918, allocations: 9.625 kB / 0.5173 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.2918, allocations: 3.938 kB / 0.5173 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2918, allocations: 2.781 kB / 0.5174 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2918, allocations: 4 kB / 0.5174 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.2918, allocations: 1.375 kB / 0.5174 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000203/0.292, allocations: 216.5 kB / 0.5176 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.2921, allocations: 93.14 kB / 0.5177 GB, free: 7.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2921, allocations: 5.312 kB / 0.5177 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.2921, allocations: 2.75 kB / 0.5177 GB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.646e-05/0.2922, allocations: 16.11 kB / 0.5177 GB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.598e-05/0.2922, allocations: 2.75 kB / 0.5177 GB, free: 7.641 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001343/0.2924, allocations: 192.9 kB / 0.5179 GB, free: 7.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2924, allocations: 3.938 kB / 0.5179 GB, free: 7.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.2926, allocations: 26.14 kB / 0.5179 GB, free: 7.504 MB / 382.1 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.001872/0.2945, allocations: 1.121 MB / 0.519 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2947, allocations: 75.88 kB / 0.5191 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2947, allocations: 0 / 0.5191 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.896e-05/0.2948, allocations: 27.98 kB / 0.5191 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.2951, allocations: 27.92 kB / 0.5191 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.2966, allocations: 1.838 MB / 0.5209 GB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2968, allocations: 0.7275 MB / 0.5216 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.331e-05/0.2968, allocations: 8.656 kB / 0.5216 GB, free: 3.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.087e-05/0.2969, allocations: 47.41 kB / 0.5217 GB, free: 3.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.2969, allocations: 0 / 0.5217 GB, free: 3.555 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/0.3228, allocations: 3.802 MB / 0.5254 GB, free: 15.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.255/8.578, allocations: 20.95 kB / 0.5254 GB, free: 15.66 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8_fmu --startTime=0 --stopTime=1 --stepSize=0.00019984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test8.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: 11.541429648175836]