Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31",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.001247/0.001247, allocations: 107 kB / 17.33 MB, free: 6 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.001167/0.001167, allocations: 193.3 kB / 18.25 MB, free: 5.09 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.418/1.418, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.223/0.223, allocations: 44.17 MB / 336.2 MB, free: 2.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.28 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1249, allocations: 60.83 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003868/0.1288, allocations: 1.753 MB / 470.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001785/0.1306, allocations: 0.8614 MB / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.157e-05/0.1307, allocations: 0 / 471.4 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003097/0.131, allocations: 39.83 kB / 471.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.1313, allocations: 47.83 kB / 471.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004087/0.1317, allocations: 95.77 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.132, allocations: 95.7 kB / 471.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.1321, allocations: 8.234 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.1322, allocations: 51.7 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.382e-05/0.1323, allocations: 27.86 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.1323, allocations: 4 kB / 471.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.1325, allocations: 43.98 kB / 471.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.645e-05/0.1326, allocations: 23.91 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.604e-05/0.1326, allocations: 35.73 kB / 471.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002485/0.1329, allocations: 115.8 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1329, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1329, allocations: 0 / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.756e-06/0.1329, allocations: 0 / 472 MB, free: 11.4 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.0006473/0.1336, allocations: 407 kB / 472.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1337, allocations: 15.97 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.944e-05/0.1337, allocations: 38.75 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.838e-05/0.1338, allocations: 12.75 kB / 472.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.1341, allocations: 208.1 kB / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1341, allocations: 384 / 472.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.896e-05/0.1342, allocations: 7.938 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.1344, allocations: 61.61 kB / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1344, allocations: 0 / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.1344, allocations: 0 / 472.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1344, allocations: 3.938 kB / 472.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1346, allocations: 27.98 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.135, allocations: 280.9 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.1353, allocations: 58.61 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/0.1354, allocations: 20.84 kB / 473.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1354, allocations: 8 kB / 473.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002466/0.1357, allocations: 63.39 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.994e-06/0.1357, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007407/0.1365, allocations: 181.2 kB / 473.4 MB, free: 9.855 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.1365, allocations: 51.41 kB / 473.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.1368, allocations: 190.1 kB / 473.6 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1368, allocations: 25.7 kB / 473.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.402e-05/0.1369, allocations: 108.1 kB / 473.7 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.688e-05/0.137, allocations: 23.7 kB / 473.8 MB, free: 9.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.946e-05/0.137, allocations: 21.72 kB / 473.8 MB, free: 9.406 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.1372, allocations: 326.8 kB / 474.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.59e-05/0.1373, allocations: 19.98 kB / 474.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.1374, allocations: 41.62 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1376, allocations: 57.72 kB / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1376, allocations: 0 / 474.2 MB, free: 8.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002844/0.1379, allocations: 105.4 kB / 474.3 MB, free: 8.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1379, allocations: 6.5 kB / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1379, allocations: 0 / 474.3 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.138, allocations: 4 kB / 474.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.1381, allocations: 19.98 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.1381, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.1382, allocations: 7.938 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.1382, allocations: 4.219 kB / 474.4 MB, free: 8.801 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.0001344/0.1384, allocations: 137 kB / 474.5 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.211e-05/0.1384, allocations: 11.84 kB / 474.5 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.237e-05/0.1385, allocations: 12.72 kB / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1385, allocations: 0 / 474.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1385, allocations: 4.375 kB / 474.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1385, allocations: 3.938 kB / 474.5 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005905/0.1391, allocations: 387.3 kB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.1391, allocations: 4 kB / 474.9 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.271e-05/0.1392, allocations: 19.92 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.383e-06/0.1392, allocations: 7.938 kB / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.1392, allocations: 0 / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1393, allocations: 0 / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1393, allocations: 0 / 474.9 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.1396, allocations: 212.4 kB / 475.2 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.869e-05/0.1397, allocations: 89 kB / 475.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.526e-05/0.1397, allocations: 7.938 kB / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/0.1399, allocations: 0 / 475.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.1399, allocations: 4 kB / 475.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.6e-05/0.14, allocations: 11.98 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1401, allocations: 139.2 kB / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1401, allocations: 0 / 475.4 MB, free: 7.664 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004605/0.1406, allocations: 27.98 kB / 475.4 MB, free: 7.637 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.002118/0.1427, allocations: 1.091 MB / 476.5 MB, free: 6.703 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002565/0.143, allocations: 71.84 kB / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.143, allocations: 0 / 476.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1432, allocations: 31.92 kB / 476.6 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.1437, allocations: 34.45 kB / 476.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.1461, allocations: 1.635 MB / 478.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1465, allocations: 0.708 MB / 479 MB, free: 4.102 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.716e-05/0.1466, allocations: 17.17 kB / 479 MB, free: 4.086 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.284e-05/0.1467, allocations: 35.42 kB / 479.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1467, allocations: 0 / 479.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01893/0.1657, allocations: 3.215 MB / 482.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.166, allocations: 232.7 kB / 482.5 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.253, allocations: 0 / 482.5 MB, free: 0.6953 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches