Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.00165/0.00165, allocations: 120.1 kB / 18.49 MB, free: 4.562 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.001662/0.001662, allocations: 215.1 kB / 21.45 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.471/1.471, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2124/0.2124, allocations: 44.91 MB / 355.8 MB, free: 12.37 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.001949/0.001949, allocations: 67.91 kB / 0.4886 GB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1184, allocations: 65.41 MB / 0.5525 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003523/0.1219, allocations: 1.948 MB / 0.5544 GB, free: 8.27 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1237, allocations: 1.068 MB / 0.5554 GB, free: 7.195 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001026/0.1238, allocations: 7.938 kB / 0.5554 GB, free: 7.188 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.1241, allocations: 47.7 kB / 0.5555 GB, free: 7.141 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003005/0.1244, allocations: 99.48 kB / 0.5556 GB, free: 7.043 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002211/0.1246, allocations: 99.69 kB / 0.5557 GB, free: 6.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.1248, allocations: 143.5 kB / 0.5558 GB, free: 6.805 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001162/0.1249, allocations: 29.75 kB / 0.5558 GB, free: 6.773 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.1251, allocations: 59.72 kB / 0.5559 GB, free: 6.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.576e-05/0.1251, allocations: 51.7 kB / 0.556 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.1252, allocations: 8 kB / 0.556 GB, free: 6.656 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.1253, allocations: 51.92 kB / 0.556 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.72e-05/0.1253, allocations: 27.92 kB / 0.556 GB, free: 6.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.089e-05/0.1254, allocations: 51.61 kB / 0.5561 GB, free: 6.527 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.1257, allocations: 155.3 kB / 0.5562 GB, free: 6.375 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1257, allocations: 0 / 0.5562 GB, free: 6.375 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1257, allocations: 0 / 0.5562 GB, free: 6.375 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1257, allocations: 0 / 0.5562 GB, free: 6.375 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000703/0.1264, allocations: 488.1 kB / 0.5567 GB, free: 5.844 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1264, allocations: 12.03 kB / 0.5567 GB, free: 5.832 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.304e-05/0.1264, allocations: 4.188 kB / 0.5567 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.966e-05/0.1265, allocations: 42.73 kB / 0.5568 GB, free: 5.777 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.538e-05/0.1265, allocations: 16.84 kB / 0.5568 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.1269, allocations: 228.9 kB / 0.557 GB, free: 5.496 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.1269, allocations: 12.12 kB / 0.557 GB, free: 5.484 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.1269, allocations: 4 kB / 0.557 GB, free: 5.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1271, allocations: 118.1 kB / 0.5571 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.1272, allocations: 0 / 0.5571 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.193e-05/0.1272, allocations: 0 / 0.5571 GB, free: 5.352 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1272, allocations: 4 kB / 0.5571 GB, free: 5.348 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001542/0.1273, allocations: 51.84 kB / 0.5572 GB, free: 5.297 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006266/0.128, allocations: 0.5088 MB / 0.5577 GB, free: 4.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.1283, allocations: 86.61 kB / 0.5578 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.962e-05/0.1284, allocations: 40.77 kB / 0.5578 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.1284, allocations: 0 / 0.5578 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.1286, allocations: 87.31 kB / 0.5579 GB, free: 4.496 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.1286, allocations: 0 / 0.5579 GB, free: 4.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004087/0.129, allocations: 145.4 kB / 0.558 GB, free: 4.348 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.1291, allocations: 55.41 kB / 0.5581 GB, free: 4.281 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.1293, allocations: 198.3 kB / 0.5583 GB, free: 4.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.16e-05/0.1293, allocations: 29.69 kB / 0.5583 GB, free: 4.043 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.163e-05/0.1294, allocations: 124 kB / 0.5584 GB, free: 3.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.1294, allocations: 23.81 kB / 0.5584 GB, free: 3.895 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.018e-05/0.1294, allocations: 29.7 kB / 0.5585 GB, free: 3.859 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1296, allocations: 326.8 kB / 0.5588 GB, free: 3.531 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.024e-05/0.1297, allocations: 27.98 kB / 0.5588 GB, free: 3.504 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.1298, allocations: 71.64 kB / 0.5589 GB, free: 3.422 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.13, allocations: 100.2 kB / 0.559 GB, free: 3.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.13, allocations: 0 / 0.559 GB, free: 3.309 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.1303, allocations: 153.7 kB / 0.5591 GB, free: 3.152 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.1303, allocations: 4 kB / 0.5591 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.1303, allocations: 0 / 0.5591 GB, free: 3.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1303, allocations: 7.938 kB / 0.5591 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.721e-05/0.1304, allocations: 19.98 kB / 0.5591 GB, free: 3.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1305, allocations: 4 kB / 0.5591 GB, free: 3.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.1305, allocations: 15.89 kB / 0.5592 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1305, allocations: 4 kB / 0.5592 GB, free: 3.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001071/0.1306, allocations: 136.1 kB / 0.5593 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.1307, allocations: 15.91 kB / 0.5593 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.653e-05/0.1307, allocations: 21.34 kB / 0.5593 GB, free: 2.918 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.1307, allocations: 4 kB / 0.5593 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1307, allocations: 0 / 0.5593 GB, free: 2.914 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1307, allocations: 3.984 kB / 0.5593 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.1309, allocations: 205.6 kB / 0.5595 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1309, allocations: 0 / 0.5595 GB, free: 2.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.131, allocations: 16 kB / 0.5595 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.131, allocations: 7.938 kB / 0.5595 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.131, allocations: 7.922 kB / 0.5596 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.131, allocations: 0 / 0.5596 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.131, allocations: 0 / 0.5596 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003931/0.1314, allocations: 176.9 kB / 0.5597 GB, free: 2.438 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1315, allocations: 92.98 kB / 0.5598 GB, free: 2.328 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.1315, allocations: 11.92 kB / 0.5598 GB, free: 2.316 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.655e-05/0.1316, allocations: 16.05 kB / 0.5598 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.1316, allocations: 11.92 kB / 0.5598 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.1316, allocations: 0 / 0.5598 GB, free: 2.289 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000144/0.1318, allocations: 148.4 kB / 0.56 GB, free: 2.145 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1318, allocations: 0 / 0.56 GB, free: 2.145 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.132, allocations: 24 kB / 0.56 GB, free: 2.121 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.002141/0.1341, allocations: 1.018 MB / 0.561 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002598/0.1344, allocations: 83.78 kB / 0.5611 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1344, allocations: 0 / 0.5611 GB, free: 1.156 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1345, allocations: 36.16 kB / 0.5611 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.1348, allocations: 45.02 kB / 0.5612 GB, free: 1.078 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.137, allocations: 1.765 MB / 0.5629 GB, free: 15.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003806/0.1374, allocations: 0.7123 MB / 0.5636 GB, free: 14.46 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.582e-05/0.1375, allocations: 17.42 kB / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.647e-05/0.1376, allocations: 43.42 kB / 0.5636 GB, free: 14.41 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1376, allocations: 0 / 0.5636 GB, free: 14.41 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02381/0.1614, allocations: 3.893 MB / 0.5674 GB, free: 10.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/8.641, allocations: 14.88 kB / 0.5675 GB, free: 10.59 MB / 430.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13_fmu --startTime=0 --stopTime=2 --stepSize=0.00039984 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.749114722013474]