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.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.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test13",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.001126/0.001126, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001192/0.001192, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.395/1.395, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2178/0.2178, allocations: 44.17 MB / 336.6 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 58.09 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1163, allocations: 60.84 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.00407/0.1205, allocations: 1.904 MB / 471.3 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001707/0.1222, allocations: 0.9158 MB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.1224, allocations: 3.938 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.1228, allocations: 43.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003414/0.1232, allocations: 59.69 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004382/0.1236, allocations: 130.2 kB / 472.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.1239, allocations: 135.6 kB / 472.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1241, allocations: 25.47 kB / 472.6 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.1242, allocations: 55.72 kB / 472.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1243, allocations: 51.72 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.1244, allocations: 11.94 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.1246, allocations: 47.97 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.164e-05/0.1247, allocations: 19.92 kB / 472.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.422e-05/0.1248, allocations: 51.67 kB / 472.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.1251, allocations: 151.7 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1251, allocations: 0 / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1251, allocations: 0 / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.834e-06/0.1252, allocations: 3.938 kB / 473 MB, free: 10.65 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007765/0.1259, allocations: 476.5 kB / 473.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.126, allocations: 16.03 kB / 473.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.126, allocations: 34.73 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.149e-05/0.1261, allocations: 20.75 kB / 473.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002935/0.1264, allocations: 220 kB / 473.7 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1264, allocations: 4.375 kB / 473.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.538e-05/0.1265, allocations: 11.94 kB / 473.7 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.1268, allocations: 104.2 kB / 473.8 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1268, allocations: 4 kB / 473.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1268, allocations: 4 kB / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.1268, allocations: 0 / 473.8 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.127, allocations: 51.91 kB / 473.9 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007238/0.1277, allocations: 0.5048 MB / 474.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.1281, allocations: 90.59 kB / 474.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1282, allocations: 40.78 kB / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.681e-05/0.1282, allocations: 0 / 474.5 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002961/0.1285, allocations: 83.38 kB / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.1285, allocations: 0 / 474.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004569/0.129, allocations: 153.3 kB / 474.8 MB, free: 8.656 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.1291, allocations: 55.34 kB / 474.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1293, allocations: 187.5 kB / 475 MB, free: 8.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1293, allocations: 29.7 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1294, allocations: 116 kB / 475.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.1295, allocations: 31.61 kB / 475.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.1296, allocations: 21.72 kB / 475.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.1297, allocations: 326.8 kB / 475.5 MB, free: 7.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.884e-05/0.1298, allocations: 31.97 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.1299, allocations: 60.66 kB / 475.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002128/0.1302, allocations: 108.1 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1302, allocations: 0 / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003257/0.1305, allocations: 137.3 kB / 475.8 MB, free: 7.488 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.1305, allocations: 4 kB / 475.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.1306, allocations: 4 kB / 475.8 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1306, allocations: 3.938 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1307, allocations: 31.92 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1307, allocations: 0 / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.48e-05/0.1308, allocations: 7.938 kB / 475.9 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.1308, allocations: 8.125 kB / 475.9 MB, free: 7.43 MB / 350.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.0001293/0.131, allocations: 137.8 kB / 476 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.131, allocations: 11.81 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.692e-05/0.1311, allocations: 21.41 kB / 476.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-05/0.1311, allocations: 7.938 kB / 476.1 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1311, allocations: 3.984 kB / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1311, allocations: 0 / 476.1 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1313, allocations: 201.6 kB / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.1314, allocations: 0 / 476.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.982e-05/0.1314, allocations: 16 kB / 476.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.1315, allocations: 4 kB / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.1315, allocations: 0 / 476.3 MB, free: 6.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.1315, allocations: 7.922 kB / 476.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1315, allocations: 7.922 kB / 476.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.1319, allocations: 180.9 kB / 476.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.486e-05/0.132, allocations: 92.89 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.132, allocations: 4.062 kB / 476.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.54e-05/0.1321, allocations: 15.92 kB / 476.6 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.546e-05/0.1321, allocations: 7.984 kB / 476.6 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.1322, allocations: 4 kB / 476.6 MB, free: 6.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002017/0.1324, allocations: 141.2 kB / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1324, allocations: 0 / 476.7 MB, free: 6.488 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1326, allocations: 28.12 kB / 476.8 MB, free: 6.461 MB / 350.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.001769/0.1344, allocations: 1.023 MB / 477.8 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002511/0.1347, allocations: 79.89 kB / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1347, allocations: 0 / 477.9 MB, free: 5.492 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.1348, allocations: 44.17 kB / 477.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.1351, allocations: 35.91 kB / 478 MB, free: 5.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1373, allocations: 1.741 MB / 479.7 MB, free: 3.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1376, allocations: 0.7123 MB / 480.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.047e-05/0.1377, allocations: 13.42 kB / 480.4 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.1378, allocations: 51.36 kB / 480.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1378, allocations: 0 / 480.5 MB, free: 2.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/0.1642, allocations: 3.684 MB / 484.2 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/7.74, allocations: 14.91 kB / 484.2 MB, free: 15.15 MB / 366.1 MB (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 --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) 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) Reference file matches