Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73",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.001576/0.001576, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.001493/0.001493, allocations: 192 kB / 18.55 MB, free: 4.566 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.412/1.412, allocations: 222.9 MB / 242.2 MB, free: 15.18 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.2246/0.2246, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.77 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1322, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003802/0.136, allocations: 1.894 MB / 471.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001827/0.1379, allocations: 0.9822 MB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.1381, allocations: 3.938 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000494/0.1386, allocations: 155.5 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004312/0.139, allocations: 143.4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006044/0.1397, allocations: 183.4 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004179/0.1401, allocations: 219.4 kB / 472.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001616/0.1403, allocations: 37.66 kB / 473 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.1405, allocations: 107.5 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002211/0.1407, allocations: 127.5 kB / 473.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.451e-05/0.1408, allocations: 8 kB / 473.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002148/0.141, allocations: 67.97 kB / 473.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001081/0.1411, allocations: 51.78 kB / 473.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001245/0.1412, allocations: 83.41 kB / 473.4 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.1416, allocations: 203.6 kB / 473.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1416, allocations: 7.984 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1417, allocations: 0 / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.037e-06/0.1417, allocations: 0 / 473.6 MB, free: 10.01 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008666/0.1425, allocations: 0.5138 MB / 474.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.1426, allocations: 15.91 kB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.39e-05/0.1427, allocations: 46.73 kB / 474.2 MB, free: 9.379 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.415e-05/0.1427, allocations: 20.66 kB / 474.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003644/0.1431, allocations: 267.6 kB / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1431, allocations: 384 / 474.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.1432, allocations: 19.92 kB / 474.5 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.1434, allocations: 111.3 kB / 474.6 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.1435, allocations: 3.984 kB / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.1435, allocations: 0 / 474.6 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/0.1435, allocations: 8 kB / 474.6 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.1436, allocations: 43.97 kB / 474.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.1443, allocations: 464.6 kB / 475.1 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/0.1447, allocations: 121.2 kB / 475.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.1448, allocations: 45.81 kB / 475.3 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.1448, allocations: 8.141 kB / 475.3 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003517/0.1452, allocations: 120 kB / 475.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.653e-06/0.1452, allocations: 0 / 475.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001482/0.1467, allocations: 492.9 kB / 475.9 MB, free: 7.539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.1468, allocations: 77.11 kB / 475.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.1472, allocations: 351 kB / 476.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1472, allocations: 33.7 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1474, allocations: 148.5 kB / 476.5 MB, free: 6.906 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.1475, allocations: 67.09 kB / 476.5 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.1476, allocations: 45.7 kB / 476.6 MB, free: 6.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.1477, allocations: 338.8 kB / 476.9 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/0.1479, allocations: 55.97 kB / 477 MB, free: 6.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1481, allocations: 91.34 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.1484, allocations: 155.3 kB / 477.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1484, allocations: 7.938 kB / 477.2 MB, free: 6.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004688/0.1489, allocations: 241.2 kB / 477.4 MB, free: 5.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.1489, allocations: 8 kB / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.1489, allocations: 64 / 477.5 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.172e-05/0.1489, allocations: 8 kB / 477.5 MB, free: 5.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001431/0.1491, allocations: 35.98 kB / 477.5 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.1491, allocations: 12.16 kB / 477.5 MB, free: 5.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.1492, allocations: 8 kB / 477.5 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.1493, allocations: 4 kB / 477.5 MB, free: 5.805 MB / 350.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 (26): * Single equations (assignments): 26 * 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.000186/0.1495, allocations: 157.8 kB / 477.7 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.809e-05/0.1495, allocations: 35.55 kB / 477.7 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.526e-05/0.1496, allocations: 37.72 kB / 477.7 MB, free: 5.566 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1496, allocations: 8 kB / 477.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/0.1496, allocations: 0 / 477.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1497, allocations: 3.938 kB / 477.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.1507, allocations: 0.7194 MB / 478.5 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.1507, allocations: 4 kB / 478.5 MB, free: 4.762 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.422e-05/0.1508, allocations: 31.92 kB / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1508, allocations: 0 / 478.5 MB, free: 4.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.1508, allocations: 8 kB / 478.5 MB, free: 4.723 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.1508, allocations: 4 kB / 478.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.1509, allocations: 3.938 kB / 478.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.1513, allocations: 413.9 kB / 478.9 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.1514, allocations: 100.7 kB / 479 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.1515, allocations: 15.98 kB / 479 MB, free: 4.148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.1516, allocations: 8.188 kB / 479.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.686e-05/0.1517, allocations: 23.92 kB / 479.1 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.627e-05/0.1517, allocations: 19.92 kB / 479.1 MB, free: 4.098 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002843/0.152, allocations: 261.9 kB / 479.4 MB, free: 3.844 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.152, allocations: 3.938 kB / 479.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003594/0.1524, allocations: 48 kB / 479.4 MB, free: 3.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 18 * 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.001966/0.1544, allocations: 1.345 MB / 480.8 MB, free: 2.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000406/0.1548, allocations: 173 kB / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.417e-06/0.1548, allocations: 0 / 480.9 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001538/0.155, allocations: 75.86 kB / 481 MB, free: 2.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.1555, allocations: 63.95 kB / 481.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003607/0.1591, allocations: 2.657 MB / 483.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.1595, allocations: 0.7601 MB / 484.5 MB, free: 14.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.1597, allocations: 45.91 kB / 484.5 MB, free: 14.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.1599, allocations: 83.41 kB / 484.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of SimCode: time 1.694e-06/0.1599, allocations: 0 / 484.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.19, allocations: 5.841 MB / 490.4 MB, free: 8.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.546/7.736, allocations: 6.984 kB / 490.4 MB, free: 8.875 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test73.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches