Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 113.1 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 222.9 MB / 241.9 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3159/0.3159, allocations: 44.18 MB / 336.2 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001578/0.001578, allocations: 63.89 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1275, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004475/0.1321, allocations: 1.756 MB / 470.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.1336, allocations: 0.8614 MB / 471.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.53e-05/0.1337, allocations: 3.938 kB / 471.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.134, allocations: 31.91 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1343, allocations: 47.83 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.1346, allocations: 99.69 kB / 471.6 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.1348, allocations: 95.7 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.79e-05/0.1349, allocations: 12.23 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.629e-05/0.135, allocations: 47.77 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.058e-05/0.1351, allocations: 27.86 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1351, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.087e-05/0.1352, allocations: 39.98 kB / 471.9 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.548e-05/0.1353, allocations: 27.84 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.191e-05/0.1353, allocations: 27.81 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1355, allocations: 115.9 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1355, allocations: 4 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1355, allocations: 0 / 472 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1356, allocations: 3.938 kB / 472 MB, free: 11.41 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000587/0.1362, allocations: 407 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.1362, allocations: 8.031 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.1363, allocations: 34.75 kB / 472.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.1363, allocations: 8.844 kB / 472.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1365, allocations: 211.7 kB / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1366, allocations: 384 / 472.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1366, allocations: 15.94 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1368, allocations: 49.67 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1368, allocations: 0 / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.1368, allocations: 4 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1368, allocations: 4 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.819e-05/0.1369, allocations: 15.98 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.1373, allocations: 288.8 kB / 473.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1375, allocations: 54.69 kB / 473.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.514e-05/0.1375, allocations: 20.84 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.1376, allocations: 7.984 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.1378, allocations: 67.3 kB / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.286e-06/0.1378, allocations: 0 / 473.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005991/0.1384, allocations: 181.3 kB / 473.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.654e-05/0.1385, allocations: 51.41 kB / 473.4 MB, free: 9.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.1386, allocations: 178.1 kB / 473.6 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.1387, allocations: 25.7 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.999e-05/0.1388, allocations: 100.1 kB / 473.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.1388, allocations: 27.64 kB / 473.7 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.854e-05/0.1388, allocations: 21.72 kB / 473.8 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.139, allocations: 326.8 kB / 474.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.928e-05/0.139, allocations: 19.98 kB / 474.1 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.521e-05/0.1391, allocations: 37.7 kB / 474.1 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1392, allocations: 57.7 kB / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1392, allocations: 0 / 474.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000182/0.1394, allocations: 105.4 kB / 474.3 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.1394, allocations: 11.97 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1395, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.1395, allocations: 0 / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.326e-05/0.1396, allocations: 23.92 kB / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1396, allocations: 192 / 474.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.638e-05/0.1396, allocations: 7.938 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.1397, allocations: 7.938 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001038/0.1398, allocations: 117.8 kB / 474.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1398, allocations: 11.89 kB / 474.5 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.621e-05/0.1398, allocations: 16.72 kB / 474.5 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.1399, allocations: 4 kB / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1399, allocations: 0 / 474.5 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1399, allocations: 3.938 kB / 474.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004205/0.1403, allocations: 387.3 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1403, allocations: 0 / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.1404, allocations: 11.98 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.1404, allocations: 7.938 kB / 474.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-06/0.1404, allocations: 4.031 kB / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.1404, allocations: 0 / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1404, allocations: 0 / 474.9 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002324/0.1406, allocations: 204.1 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.231e-05/0.1407, allocations: 85.02 kB / 475.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.1407, allocations: 11.92 kB / 475.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.653e-05/0.1408, allocations: 8 kB / 475.2 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.492e-05/0.1409, allocations: 4.375 kB / 475.2 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.1409, allocations: 7.984 kB / 475.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001239/0.141, allocations: 136.7 kB / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.141, allocations: 0 / 475.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1413, allocations: 24 kB / 475.4 MB, free: 7.699 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001662/0.143, allocations: 1.104 MB / 476.5 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.1432, allocations: 63.86 kB / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1432, allocations: 0 / 476.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.1433, allocations: 31.92 kB / 476.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1436, allocations: 33.59 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001676/0.1453, allocations: 1.616 MB / 478.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.1457, allocations: 0.7001 MB / 478.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.1457, allocations: 21.19 kB / 478.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.078e-05/0.1458, allocations: 35.42 kB / 479 MB, free: 4.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1458, allocations: 0 / 479 MB, free: 4.133 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/0.1592, allocations: 3.153 MB / 482.1 MB, free: 1.098 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/0.1594, allocations: 231.2 kB / 482.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/2.226, allocations: 0 / 482.4 MB, free: 0.8438 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches