Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.00109/0.001089, allocations: 105.9 kB / 17.2 MB, free: 6.273 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.001038/0.001038, allocations: 194 kB / 18.12 MB, free: 5.363 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.328/1.328, allocations: 222.9 MB / 241.8 MB, free: 13.64 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.2979/0.2979, allocations: 44.18 MB / 336.1 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 70.14 kB / 407.8 MB, free: 27.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1244, allocations: 60.83 MB / 468.6 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003816/0.1282, allocations: 1.753 MB / 470.4 MB, free: 12.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002344/0.1306, allocations: 1.444 MB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001188/0.1308, allocations: 0 / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003477/0.1311, allocations: 35.89 kB / 471.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002697/0.1314, allocations: 55.7 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1318, allocations: 91.84 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.1321, allocations: 91.73 kB / 472.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1322, allocations: 12.23 kB / 472.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.1323, allocations: 35.8 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.1325, allocations: 39.77 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1325, allocations: 4 kB / 472.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.1327, allocations: 59.91 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.1328, allocations: 11.98 kB / 472.3 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.027e-05/0.1329, allocations: 31.8 kB / 472.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.1332, allocations: 123.9 kB / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1332, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1332, allocations: 0 / 472.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.1332, allocations: 0 / 472.4 MB, free: 10.9 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.0006665/0.1339, allocations: 403.2 kB / 472.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1339, allocations: 8.031 kB / 472.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.184e-05/0.134, allocations: 38.75 kB / 472.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.134, allocations: 8.844 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.1343, allocations: 212.1 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.1343, allocations: 4.312 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1344, allocations: 7.938 kB / 473.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.1346, allocations: 83.25 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1346, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.1346, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1346, allocations: 0 / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.1347, allocations: 19.98 kB / 473.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004304/0.1352, allocations: 284.9 kB / 473.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.1354, allocations: 54.61 kB / 473.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.1354, allocations: 28.84 kB / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1355, allocations: 0 / 473.6 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.1357, allocations: 63.39 kB / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.1357, allocations: 0 / 473.6 MB, free: 9.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006056/0.1363, allocations: 181.1 kB / 473.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.093e-05/0.1364, allocations: 81.11 kB / 473.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1366, allocations: 152.5 kB / 474 MB, free: 9.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.374e-05/0.1366, allocations: 33.7 kB / 474.1 MB, free: 9.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.457e-05/0.1366, allocations: 92.14 kB / 474.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.1367, allocations: 31.62 kB / 474.2 MB, free: 8.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1367, allocations: 21.72 kB / 474.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1369, allocations: 322.8 kB / 474.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.346e-05/0.1369, allocations: 23.98 kB / 474.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.806e-05/0.137, allocations: 42.5 kB / 474.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1371, allocations: 61.75 kB / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1372, allocations: 0 / 474.6 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002/0.1374, allocations: 97.52 kB / 474.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.1374, allocations: 6.5 kB / 474.7 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1374, allocations: 4 kB / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1374, allocations: 0 / 474.7 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.1375, allocations: 16.36 kB / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1375, allocations: 0 / 474.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.1376, allocations: 15.94 kB / 474.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.1376, allocations: 8.031 kB / 474.8 MB, free: 8.285 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.0001136/0.1377, allocations: 117.8 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.1378, allocations: 11.89 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/0.1378, allocations: 12.72 kB / 474.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.1378, allocations: 7.938 kB / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1379, allocations: 0 / 474.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.1379, allocations: 4.125 kB / 474.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/0.1383, allocations: 399.5 kB / 475.3 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1384, allocations: 3.938 kB / 475.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.304e-05/0.1384, allocations: 8 kB / 475.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1384, allocations: 3.938 kB / 475.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1384, allocations: 0 / 475.3 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1384, allocations: 4 kB / 475.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1384, allocations: 0 / 475.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.1387, allocations: 212.2 kB / 475.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.144e-05/0.1388, allocations: 85 kB / 475.6 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.967e-05/0.1388, allocations: 7.938 kB / 475.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.635e-05/0.1389, allocations: 4 kB / 475.6 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.467e-05/0.139, allocations: 7.984 kB / 475.6 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.22e-05/0.139, allocations: 4 kB / 475.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001017/0.1391, allocations: 117.5 kB / 475.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1391, allocations: 0 / 475.8 MB, free: 7.188 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002765/0.1394, allocations: 32 kB / 475.8 MB, free: 7.156 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.001701/0.1411, allocations: 1.131 MB / 476.9 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.1413, allocations: 59.95 kB / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1413, allocations: 0 / 477 MB, free: 6.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.325e-05/0.1414, allocations: 35.98 kB / 477 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1418, allocations: 31.62 kB / 477.1 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/0.1436, allocations: 1.557 MB / 478.6 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002775/0.1438, allocations: 0.6926 MB / 479.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.882e-05/0.1439, allocations: 12.88 kB / 479.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.589e-05/0.144, allocations: 35.42 kB / 479.4 MB, free: 3.66 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.144, allocations: 4 kB / 479.4 MB, free: 3.656 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01735/0.1614, allocations: 3.305 MB / 482.7 MB, free: 472 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001864/0.1616, allocations: 246.7 kB / 482.9 MB, free: 204 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.996/2.158, allocations: 0 / 482.9 MB, free: 204 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches