Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001876/0.001876, allocations: 105 kB / 20.48 MB, free: 1.484 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.003015/0.003015, allocations: 213.2 kB / 23.79 MB, free: 4.703 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.779/1.779, allocations: 207.6 MB / 234.6 MB, free: 9.984 MB / 190.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.2563/0.2563, allocations: 44.24 MB / 331.1 MB, free: 9.527 MB / 270.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.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.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77",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.004071/0.004071, allocations: 78.56 kB / 468.3 MB, free: 4.453 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1452, allocations: 61.03 MB / 0.517 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.003193/0.1484, allocations: 1.862 MB / 0.5188 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.1499, allocations: 0.9247 MB / 0.5197 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.15, allocations: 3.938 kB / 0.5197 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003943/0.1504, allocations: 163.5 kB / 0.5199 GB, free: 4.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003282/0.1507, allocations: 139.5 kB / 0.52 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003791/0.1511, allocations: 151.6 kB / 0.5201 GB, free: 4.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003081/0.1514, allocations: 219.3 kB / 0.5203 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.1515, allocations: 17.73 kB / 0.5204 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1516, allocations: 99.66 kB / 0.5205 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001907/0.1518, allocations: 147.5 kB / 0.5206 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.059e-05/0.1519, allocations: 8 kB / 0.5206 GB, free: 3.539 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.908e-05/0.152, allocations: 43.98 kB / 0.5206 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.95e-05/0.152, allocations: 51.83 kB / 0.5207 GB, free: 3.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.232e-05/0.1521, allocations: 75.36 kB / 0.5208 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1524, allocations: 191.1 kB / 0.5209 GB, free: 3.184 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1524, allocations: 4 kB / 0.521 GB, free: 3.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1524, allocations: 0 / 0.521 GB, free: 3.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.1524, allocations: 0 / 0.521 GB, free: 3.18 MB / 398.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.0006722/0.1531, allocations: 460.8 kB / 0.5214 GB, free: 2.699 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1531, allocations: 8.031 kB / 0.5214 GB, free: 2.691 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.433e-05/0.1531, allocations: 4.188 kB / 0.5214 GB, free: 2.688 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.726e-05/0.1532, allocations: 38.69 kB / 0.5214 GB, free: 2.641 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1532, allocations: 28.75 kB / 0.5215 GB, free: 2.613 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003376/0.1536, allocations: 205.5 kB / 0.5217 GB, free: 2.387 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.1536, allocations: 8.109 kB / 0.5217 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.1536, allocations: 8 kB / 0.5217 GB, free: 2.371 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.1538, allocations: 95.36 kB / 0.5218 GB, free: 2.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.1538, allocations: 3.938 kB / 0.5218 GB, free: 2.262 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.1539, allocations: 4 kB / 0.5218 GB, free: 2.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.1539, allocations: 4 kB / 0.5218 GB, free: 2.254 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001256/0.154, allocations: 39.97 kB / 0.5218 GB, free: 2.215 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005486/0.1545, allocations: 416 kB / 0.5222 GB, free: 1.762 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.1548, allocations: 101.3 kB / 0.5223 GB, free: 1.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1549, allocations: 45.69 kB / 0.5224 GB, free: 1.594 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.068e-05/0.155, allocations: 11.94 kB / 0.5224 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1552, allocations: 105.1 kB / 0.5225 GB, free: 1.461 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.393e-06/0.1552, allocations: 0 / 0.5225 GB, free: 1.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009414/0.1561, allocations: 372.6 kB / 0.5228 GB, free: 1.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.748e-05/0.1562, allocations: 81.11 kB / 0.5229 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003813/0.1566, allocations: 352.2 kB / 0.5232 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1566, allocations: 33.64 kB / 0.5233 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.1567, allocations: 140.4 kB / 0.5234 GB, free: 472 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.714e-05/0.1568, allocations: 55.58 kB / 0.5235 GB, free: 416 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.676e-05/0.1569, allocations: 33.7 kB / 0.5235 GB, free: 376 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.157, allocations: 338.8 kB / 0.5238 GB, free: 28 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.1571, allocations: 47.92 kB / 0.5239 GB, free: 15.98 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.1572, allocations: 67.41 kB / 0.5239 GB, free: 15.9 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002174/0.1575, allocations: 115.4 kB / 0.524 GB, free: 15.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1575, allocations: 4 kB / 0.524 GB, free: 15.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000335/0.1578, allocations: 189.5 kB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1578, allocations: 4 kB / 0.5242 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1578, allocations: 4 kB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.1578, allocations: 3.938 kB / 0.5242 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.158, allocations: 35.98 kB / 0.5243 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.158, allocations: 7.922 kB / 0.5243 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.697e-05/0.1581, allocations: 4 kB / 0.5243 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1581, allocations: 12.81 kB / 0.5243 GB, free: 15.51 MB / 414.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.0001564/0.1582, allocations: 153.8 kB / 0.5244 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.1583, allocations: 23.86 kB / 0.5245 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004329/0.1587, allocations: 199.2 kB / 0.5246 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.1587, allocations: 7.938 kB / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1587, allocations: 0 / 0.5247 GB, free: 15.12 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.1587, allocations: 3.984 kB / 0.5247 GB, free: 15.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007695/0.1595, allocations: 0.5845 MB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1595, allocations: 4 kB / 0.5252 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.005e-05/0.1596, allocations: 20 kB / 0.5252 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/0.1596, allocations: 3.938 kB / 0.5253 GB, free: 14.45 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.1596, allocations: 7.984 kB / 0.5253 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1596, allocations: 0 / 0.5253 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1596, allocations: 4 kB / 0.5253 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004163/0.16, allocations: 372.3 kB / 0.5256 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.1601, allocations: 19.84 kB / 0.5256 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.69e-05/0.1601, allocations: 8 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1602, allocations: 7.984 kB / 0.5257 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.429e-05/0.1603, allocations: 19.92 kB / 0.5257 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.173e-05/0.1603, allocations: 8 kB / 0.5257 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002588/0.1605, allocations: 267 kB / 0.5259 GB, free: 13.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1605, allocations: 0 / 0.5259 GB, free: 13.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003299/0.1609, allocations: 39.92 kB / 0.526 GB, free: 13.69 MB / 414.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.002457/0.1633, allocations: 1.253 MB / 0.5272 GB, free: 12.45 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.1636, allocations: 111.9 kB / 0.5273 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1636, allocations: 0 / 0.5273 GB, free: 12.34 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.1638, allocations: 47.92 kB / 0.5273 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005418/0.1643, allocations: 52.94 kB / 0.5274 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00328/0.1676, allocations: 2.471 MB / 0.5298 GB, free: 9.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.1681, allocations: 0.7476 MB / 0.5305 GB, free: 8.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001305/0.1682, allocations: 29.94 kB / 0.5306 GB, free: 8.859 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001551/0.1684, allocations: 75.39 kB / 0.5306 GB, free: 8.785 MB / 414.1 MB Notification: Performance of SimCode: time 2.074e-06/0.1684, allocations: 0 / 0.5306 GB, free: 8.785 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02547/0.1939, allocations: 5.662 MB / 0.5362 GB, free: 3.027 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.36, allocations: 36 kB / 0.5362 GB, free: 2.992 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test77.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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: 15.219979002024047]