Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.001814/0.001814, allocations: 114.1 kB / 17.13 MB, free: 5.754 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.002248/0.002248, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.57/1.57, allocations: 207.6 MB / 230.5 MB, free: 3.953 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.3789/0.3789, allocations: 44.23 MB / 326.5 MB, free: 7.219 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.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74",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.002152/0.002152, allocations: 75.89 kB / 462.3 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3165, allocations: 60.98 MB / 0.511 GB, free: 13.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003373/0.3199, allocations: 1.864 MB / 0.5128 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3213, allocations: 0.9078 MB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3214, allocations: 3.344 kB / 0.5137 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004827/0.3219, allocations: 256.2 kB / 0.5139 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003004/0.3222, allocations: 179.2 kB / 0.5141 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003465/0.3225, allocations: 146.3 kB / 0.5142 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.3228, allocations: 249.4 kB / 0.5145 GB, free: 10.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.3229, allocations: 16.89 kB / 0.5145 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.3231, allocations: 125 kB / 0.5146 GB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.3233, allocations: 197.3 kB / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.3233, allocations: 6.875 kB / 0.5148 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3234, allocations: 50.17 kB / 0.5149 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.593e-05/0.3235, allocations: 68.5 kB / 0.5149 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.104e-05/0.3235, allocations: 85.17 kB / 0.515 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002732/0.3238, allocations: 227.9 kB / 0.5152 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3238, allocations: 1.375 kB / 0.5152 GB, free: 10.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3238, allocations: 0 / 0.5152 GB, free: 10.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.3238, allocations: 0 / 0.5152 GB, free: 10.05 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.0006926/0.3245, allocations: 0.5646 MB / 0.5158 GB, free: 9.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3246, allocations: 12.95 kB / 0.5158 GB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.798e-05/0.3246, allocations: 36.22 kB / 0.5158 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.975e-05/0.3247, allocations: 38.64 kB / 0.5159 GB, free: 9.434 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003859/0.325, allocations: 282.2 kB / 0.5161 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3251, allocations: 3.062 kB / 0.5161 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.763e-05/0.3251, allocations: 11.75 kB / 0.5161 GB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.3253, allocations: 101.4 kB / 0.5162 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.3253, allocations: 1.5 kB / 0.5162 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.3253, allocations: 0 / 0.5162 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.3254, allocations: 1.344 kB / 0.5162 GB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001167/0.3255, allocations: 44.66 kB / 0.5163 GB, free: 9.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.3259, allocations: 456.3 kB / 0.5167 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3262, allocations: 120 kB / 0.5168 GB, free: 8.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.3263, allocations: 37.92 kB / 0.5169 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.039e-05/0.3263, allocations: 5.422 kB / 0.5169 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.3265, allocations: 121.4 kB / 0.517 GB, free: 8.359 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.112e-06/0.3265, allocations: 0 / 0.517 GB, free: 8.359 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008246/0.3273, allocations: 384.2 kB / 0.5174 GB, free: 8.141 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.3274, allocations: 91.72 kB / 0.5174 GB, free: 8.035 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.3277, allocations: 480.1 kB / 0.5179 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.3278, allocations: 29.7 kB / 0.5179 GB, free: 7.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.3278, allocations: 164.3 kB / 0.5181 GB, free: 7.469 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.3279, allocations: 55.58 kB / 0.5181 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.185e-05/0.3279, allocations: 33.7 kB / 0.5182 GB, free: 7.375 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.067e-05/0.328, allocations: 342.8 kB / 0.5185 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.328, allocations: 43.97 kB / 0.5185 GB, free: 6.988 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.533e-05/0.3281, allocations: 67.41 kB / 0.5186 GB, free: 6.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.3283, allocations: 123.3 kB / 0.5187 GB, free: 6.777 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3283, allocations: 0 / 0.5187 GB, free: 6.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002489/0.3285, allocations: 181.4 kB / 0.5189 GB, free: 6.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.3286, allocations: 8 kB / 0.5189 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3286, allocations: 0 / 0.5189 GB, free: 6.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.3286, allocations: 7.938 kB / 0.5189 GB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3287, allocations: 43.92 kB / 0.5189 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.3287, allocations: 4 kB / 0.519 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.24e-05/0.3288, allocations: 4 kB / 0.519 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.929e-06/0.3288, allocations: 7.984 kB / 0.519 GB, free: 6.52 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 0.0001033/0.3289, allocations: 165.8 kB / 0.5191 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.3289, allocations: 31.81 kB / 0.5192 GB, free: 6.316 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.996e-05/0.329, allocations: 38.81 kB / 0.5192 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.329, allocations: 7.938 kB / 0.5192 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.329, allocations: 0 / 0.5192 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.329, allocations: 4 kB / 0.5192 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/0.3296, allocations: 0.6323 MB / 0.5198 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3296, allocations: 0 / 0.5198 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.3296, allocations: 20.75 kB / 0.5198 GB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.3296, allocations: 4 kB / 0.5198 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.3296, allocations: 3.984 kB / 0.5198 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.3296, allocations: 8.141 kB / 0.5199 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3296, allocations: 3.984 kB / 0.5199 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.3299, allocations: 368.2 kB / 0.5202 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.87e-05/0.33, allocations: 108.9 kB / 0.5203 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.33, allocations: 12 kB / 0.5203 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3301, allocations: 7.984 kB / 0.5203 GB, free: 5.004 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.247e-05/0.3302, allocations: 19.92 kB / 0.5203 GB, free: 4.984 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.3302, allocations: 4 kB / 0.5204 GB, free: 4.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002647/0.3305, allocations: 363.1 kB / 0.5207 GB, free: 4.629 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3305, allocations: 4 kB / 0.5207 GB, free: 4.625 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.3308, allocations: 32 kB / 0.5207 GB, free: 4.594 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.001995/0.3328, allocations: 1.274 MB / 0.522 GB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002645/0.333, allocations: 115.8 kB / 0.5221 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.333, allocations: 0 / 0.5221 GB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.3331, allocations: 55.89 kB / 0.5221 GB, free: 3.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004992/0.3336, allocations: 61.62 kB / 0.5222 GB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.336, allocations: 2.745 MB / 0.5249 GB, free: 244 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.3363, allocations: 0.7749 MB / 0.5256 GB, free: 15.44 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.379e-05/0.3364, allocations: 29.94 kB / 0.5257 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.3366, allocations: 91.33 kB / 0.5258 GB, free: 15.32 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3366, allocations: 0 / 0.5258 GB, free: 15.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03063/0.3672, allocations: 6.013 MB / 0.5316 GB, free: 9.223 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.924, allocations: 11.98 kB / 0.5316 GB, free: 9.211 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --stepSize=0.0029988 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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.992742781993002]