Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.002068/0.002068, allocations: 119.1 kB / 17.84 MB, free: 5.316 MB / 14.72 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.002049/0.002049, allocations: 203.1 kB / 20.79 MB, free: 2.379 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.504/1.504, allocations: 207.6 MB / 231.2 MB, free: 4.078 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.3333/0.3333, allocations: 44.24 MB / 327.3 MB, free: 6.766 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.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.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002205/0.002205, allocations: 75.91 kB / 463 MB, free: 0.8516 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2743, allocations: 61 MB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.002771/0.2771, allocations: 1.944 MB / 0.5136 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.2785, allocations: 0.9761 MB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.901e-05/0.2786, allocations: 6.062 kB / 0.5146 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006322/0.2792, allocations: 210.2 kB / 0.5148 GB, free: 10.72 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2795, allocations: 146.5 kB / 0.5149 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004114/0.2799, allocations: 199.9 kB / 0.5151 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002256/0.2802, allocations: 252.4 kB / 0.5153 GB, free: 10.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.2802, allocations: 16.81 kB / 0.5153 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.2804, allocations: 112.3 kB / 0.5155 GB, free: 10.26 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.2805, allocations: 116.3 kB / 0.5156 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.2805, allocations: 9.625 kB / 0.5156 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001216/0.2806, allocations: 59.66 kB / 0.5156 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/0.2807, allocations: 61.62 kB / 0.5157 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.65e-05/0.2808, allocations: 77.36 kB / 0.5158 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.281, allocations: 235.9 kB / 0.516 GB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.281, allocations: 4 kB / 0.516 GB, free: 9.914 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.281, allocations: 0 / 0.516 GB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.281, allocations: 1.375 kB / 0.516 GB, free: 9.914 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006431/0.2817, allocations: 0.5419 MB / 0.5165 GB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.2817, allocations: 13.48 kB / 0.5165 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.612e-05/0.2817, allocations: 5.5 kB / 0.5165 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.278e-05/0.2817, allocations: 41.48 kB / 0.5166 GB, free: 9.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.206e-05/0.2818, allocations: 22.42 kB / 0.5166 GB, free: 9.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/0.282, allocations: 294.6 kB / 0.5169 GB, free: 9.023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2821, allocations: 11.17 kB / 0.5169 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.2821, allocations: 4.094 kB / 0.5169 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001922/0.2823, allocations: 101.7 kB / 0.517 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2823, allocations: 1.125 kB / 0.517 GB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2823, allocations: 5.125 kB / 0.517 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2823, allocations: 5.031 kB / 0.517 GB, free: 8.918 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2824, allocations: 40.03 kB / 0.517 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.2828, allocations: 370.3 kB / 0.5174 GB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002774/0.2831, allocations: 120.8 kB / 0.5175 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.905e-05/0.2832, allocations: 38.05 kB / 0.5175 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2832, allocations: 5.172 kB / 0.5176 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001843/0.2834, allocations: 127 kB / 0.5177 GB, free: 8.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.2834, allocations: 0 / 0.5177 GB, free: 8.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004207/0.2838, allocations: 184.5 kB / 0.5178 GB, free: 8.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/0.2838, allocations: 103.9 kB / 0.5179 GB, free: 8.062 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.2841, allocations: 333.3 kB / 0.5183 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.2841, allocations: 32.45 kB / 0.5183 GB, free: 7.816 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.008e-05/0.2842, allocations: 135.1 kB / 0.5184 GB, free: 7.691 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.2842, allocations: 39.92 kB / 0.5185 GB, free: 7.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/0.2842, allocations: 36.7 kB / 0.5185 GB, free: 7.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.203e-05/0.2843, allocations: 333.7 kB / 0.5188 GB, free: 7.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.2844, allocations: 32.48 kB / 0.5188 GB, free: 7.281 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.2845, allocations: 77.53 kB / 0.5189 GB, free: 7.215 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.2846, allocations: 102.5 kB / 0.519 GB, free: 7.137 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.2846, allocations: 0 / 0.519 GB, free: 7.137 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002297/0.2849, allocations: 145.4 kB / 0.5192 GB, free: 6.988 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2849, allocations: 11.98 kB / 0.5192 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.2849, allocations: 0 / 0.5192 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.2849, allocations: 0 / 0.5192 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.285, allocations: 28.06 kB / 0.5192 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.285, allocations: 0 / 0.5192 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.122e-05/0.2851, allocations: 23.81 kB / 0.5192 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.2851, allocations: 4 kB / 0.5192 GB, free: 6.922 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.959e-05/0.2852, allocations: 153.7 kB / 0.5194 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.375e-05/0.2852, allocations: 23.86 kB / 0.5194 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.2853, allocations: 25.73 kB / 0.5194 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.2853, allocations: 4 kB / 0.5194 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2853, allocations: 4 kB / 0.5194 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.2853, allocations: 7.922 kB / 0.5194 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001337/0.2854, allocations: 241.5 kB / 0.5197 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2854, allocations: 0 / 0.5197 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.138e-05/0.2854, allocations: 12 kB / 0.5197 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.2854, allocations: 128 / 0.5197 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.2855, allocations: 8 kB / 0.5197 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.2855, allocations: 3.984 kB / 0.5197 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2855, allocations: 0 / 0.5197 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002471/0.2857, allocations: 185.6 kB / 0.5199 GB, free: 6.188 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.565e-05/0.2857, allocations: 101 kB / 0.52 GB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.267e-05/0.2858, allocations: 7.984 kB / 0.52 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.2858, allocations: 4 kB / 0.52 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.2859, allocations: 15.92 kB / 0.52 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.2859, allocations: 4 kB / 0.52 GB, free: 6.039 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2861, allocations: 245.9 kB / 0.5202 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2861, allocations: 4 kB / 0.5202 GB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.2863, allocations: 35.94 kB / 0.5203 GB, free: 5.762 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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.001738/0.2881, allocations: 1.034 MB / 0.5213 GB, free: 4.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.2883, allocations: 91.83 kB / 0.5214 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2883, allocations: 0 / 0.5214 GB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.2884, allocations: 43.92 kB / 0.5214 GB, free: 4.602 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.2888, allocations: 68.66 kB / 0.5215 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002004/0.2908, allocations: 2.294 MB / 0.5237 GB, free: 2.137 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.2909, allocations: 0.7476 MB / 0.5244 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.667e-05/0.291, allocations: 30.42 kB / 0.5245 GB, free: 1.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.966e-05/0.2911, allocations: 71.41 kB / 0.5245 GB, free: 1.262 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2911, allocations: 0 / 0.5245 GB, free: 1.262 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.3132, allocations: 5.701 MB / 0.5301 GB, free: 11.5 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.984/9.298, allocations: 8 kB / 0.5301 GB, free: 11.49 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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: 12.356934057024773]