Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001268/0.001268, allocations: 119.9 kB / 17.13 MB, free: 5.926 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.001344/0.001344, allocations: 191.7 kB / 20.07 MB, free: 2.992 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.544/1.544, allocations: 207.6 MB / 230.5 MB, free: 4.035 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.4076/0.4076, allocations: 44.24 MB / 326.5 MB, free: 6.859 MB / 254.1 MB " [Timeout remaining time 179] 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.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75",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.002304/0.002304, allocations: 75.89 kB / 462.2 MB, free: 0.8555 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3174, allocations: 60.99 MB / 0.511 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.002872/0.3203, allocations: 1.86 MB / 0.5128 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.3216, allocations: 0.9047 MB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.325e-05/0.3216, allocations: 1.562 kB / 0.5137 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004773/0.3221, allocations: 229.1 kB / 0.5139 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.3225, allocations: 163.6 kB / 0.514 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003673/0.3228, allocations: 147.9 kB / 0.5142 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.3231, allocations: 226.7 kB / 0.5144 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.3232, allocations: 25.5 kB / 0.5144 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.3234, allocations: 114.1 kB / 0.5145 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.3236, allocations: 160.9 kB / 0.5147 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.79e-05/0.3236, allocations: 14.81 kB / 0.5147 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3237, allocations: 46.23 kB / 0.5148 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.894e-05/0.3238, allocations: 57.75 kB / 0.5148 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.3239, allocations: 75.92 kB / 0.5149 GB, free: 10.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.3242, allocations: 213.3 kB / 0.5151 GB, free: 10.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3242, allocations: 4 kB / 0.5151 GB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3242, allocations: 0 / 0.5151 GB, free: 10.24 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3242, allocations: 0 / 0.5151 GB, free: 10.24 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006622/0.3249, allocations: 0.5517 MB / 0.5156 GB, free: 9.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.3249, allocations: 13.48 kB / 0.5156 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.115e-05/0.3249, allocations: 33.5 kB / 0.5157 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.552e-05/0.325, allocations: 29.12 kB / 0.5157 GB, free: 9.648 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003415/0.3253, allocations: 284 kB / 0.516 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3254, allocations: 7.125 kB / 0.516 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3254, allocations: 6.688 kB / 0.516 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3256, allocations: 102.7 kB / 0.5161 GB, free: 9.273 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.3256, allocations: 4 kB / 0.5161 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3256, allocations: 1.375 kB / 0.5161 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.3256, allocations: 5.359 kB / 0.5161 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3257, allocations: 44.53 kB / 0.5161 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000461/0.3262, allocations: 449.2 kB / 0.5166 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.3265, allocations: 112.4 kB / 0.5167 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.385e-05/0.3266, allocations: 40.34 kB / 0.5167 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.3266, allocations: 1.844 kB / 0.5167 GB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002146/0.3268, allocations: 114.4 kB / 0.5168 GB, free: 8.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.3268, allocations: 0 / 0.5168 GB, free: 8.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008478/0.3276, allocations: 377 kB / 0.5172 GB, free: 8.367 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.3277, allocations: 83.95 kB / 0.5173 GB, free: 8.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.328, allocations: 426.1 kB / 0.5177 GB, free: 7.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.328, allocations: 33.69 kB / 0.5177 GB, free: 7.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.3281, allocations: 152.4 kB / 0.5178 GB, free: 7.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.508e-05/0.3281, allocations: 59.55 kB / 0.5179 GB, free: 7.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.029e-05/0.3282, allocations: 33.72 kB / 0.5179 GB, free: 7.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.3282, allocations: 342.8 kB / 0.5183 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.576e-05/0.3283, allocations: 35.98 kB / 0.5183 GB, free: 7.223 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.3284, allocations: 75.41 kB / 0.5184 GB, free: 7.137 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/0.3286, allocations: 119.5 kB / 0.5185 GB, free: 7.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.3286, allocations: 0 / 0.5185 GB, free: 7.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002445/0.3288, allocations: 185.3 kB / 0.5187 GB, free: 6.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3288, allocations: 8 kB / 0.5187 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3288, allocations: 8 kB / 0.5187 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3288, allocations: 0 / 0.5187 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.329, allocations: 39.92 kB / 0.5187 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.329, allocations: 0 / 0.5187 GB, free: 6.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.072e-05/0.329, allocations: 11.92 kB / 0.5187 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.329, allocations: 8 kB / 0.5187 GB, free: 6.746 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: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.809e-05/0.3291, allocations: 161.8 kB / 0.5189 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.3292, allocations: 31.77 kB / 0.5189 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.764e-05/0.3292, allocations: 42.62 kB / 0.519 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3292, allocations: 7.938 kB / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3292, allocations: 0 / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.3292, allocations: 0 / 0.519 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005302/0.3298, allocations: 0.6203 MB / 0.5196 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3298, allocations: 0 / 0.5196 GB, free: 5.809 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3298, allocations: 19.98 kB / 0.5196 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3298, allocations: 4.062 kB / 0.5196 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3298, allocations: 4 kB / 0.5196 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3298, allocations: 7.938 kB / 0.5196 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3298, allocations: 320 / 0.5196 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002856/0.3301, allocations: 372.2 kB / 0.52 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.504e-05/0.3302, allocations: 100.9 kB / 0.52 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.3302, allocations: 11.98 kB / 0.5201 GB, free: 5.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3303, allocations: 8 kB / 0.5201 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.358e-05/0.3304, allocations: 8.359 kB / 0.5201 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.3304, allocations: 15.92 kB / 0.5201 GB, free: 5.227 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.3306, allocations: 315 kB / 0.5204 GB, free: 4.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3306, allocations: 0 / 0.5204 GB, free: 4.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003122/0.3309, allocations: 43.98 kB / 0.5204 GB, free: 4.879 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (16): * Single equations (assignments): 12 * 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.001963/0.3329, allocations: 1.286 MB / 0.5217 GB, free: 3.602 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002763/0.3332, allocations: 103.9 kB / 0.5218 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3332, allocations: 0 / 0.5218 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.3333, allocations: 60.03 kB / 0.5218 GB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.3338, allocations: 49.06 kB / 0.5219 GB, free: 3.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.3361, allocations: 2.633 MB / 0.5245 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002509/0.3363, allocations: 0.7632 MB / 0.5252 GB, free: 15.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001011/0.3364, allocations: 37.91 kB / 0.5252 GB, free: 15.81 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.3365, allocations: 79.41 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3365, allocations: 4 kB / 0.5253 GB, free: 15.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.028/0.3645, allocations: 5.779 MB / 0.531 GB, free: 9.863 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.408/8.772, allocations: 15.84 kB / 0.531 GB, free: 9.848 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75_fmu --startTime=7.99 --stopTime=20 --stepSize=0.00240104 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test75.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.790461913216859]