Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test44,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44",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.0009287/0.0009289, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.000776/0.0007761, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.321/1.321, allocations: 223.2 MB / 242.3 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2001/0.2001, allocations: 44.25 MB / 337.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003371, allocations: 8.281 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.001848/0.1163, allocations: 1.421 MB / 473.8 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1175, allocations: 0.8382 MB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.697e-05/0.1176, allocations: 4 kB / 474.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1179, allocations: 39.88 kB / 474.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001682/0.1181, allocations: 47.83 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.1184, allocations: 91.77 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1186, allocations: 99.69 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001012/0.1187, allocations: 4.234 kB / 474.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.335e-05/0.1188, allocations: 39.78 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.1188, allocations: 31.84 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.619e-05/0.1189, allocations: 4 kB / 475 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.92e-05/0.119, allocations: 43.92 kB / 475 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.119, allocations: 19.92 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.525e-05/0.1191, allocations: 65.44 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1193, allocations: 107.9 kB / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.1193, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1193, allocations: 0 / 475.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.749e-06/0.1193, allocations: 3.938 kB / 475.2 MB, free: 10.39 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.0005408/0.1199, allocations: 403.1 kB / 475.6 MB, free: 9.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.1199, allocations: 11.97 kB / 475.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.54e-05/0.12, allocations: 38.69 kB / 475.6 MB, free: 9.895 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.12, allocations: 8.844 kB / 475.7 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1202, allocations: 212.8 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.1203, allocations: 4.375 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.287e-05/0.1203, allocations: 7.938 kB / 475.9 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.1204, allocations: 57.67 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.1205, allocations: 3.984 kB / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1205, allocations: 0 / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.219e-06/0.1205, allocations: 0 / 475.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.264e-05/0.1206, allocations: 19.98 kB / 476 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.121, allocations: 292.7 kB / 476.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1211, allocations: 62.67 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.031e-05/0.1212, allocations: 20.84 kB / 476.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.1212, allocations: 4 kB / 476.3 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.1214, allocations: 71.33 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.1214, allocations: 0 / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004789/0.1219, allocations: 173.1 kB / 476.6 MB, free: 8.852 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.1219, allocations: 59.39 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.1221, allocations: 203.3 kB / 476.8 MB, free: 8.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1221, allocations: 25.7 kB / 476.8 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.201e-05/0.1222, allocations: 100.1 kB / 476.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1222, allocations: 23.7 kB / 477 MB, free: 8.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.255e-05/0.1223, allocations: 17.72 kB / 477 MB, free: 8.387 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1224, allocations: 326.8 kB / 477.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.1224, allocations: 19.98 kB / 477.3 MB, free: 8.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.1225, allocations: 33.7 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1226, allocations: 61.64 kB / 477.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1226, allocations: 4 kB / 477.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001635/0.1228, allocations: 101.6 kB / 477.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1228, allocations: 4 kB / 477.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1228, allocations: 4 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.1228, allocations: 0 / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.605e-05/0.1229, allocations: 23.92 kB / 477.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1229, allocations: 4.125 kB / 477.6 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.123, allocations: 7.938 kB / 477.6 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.123, allocations: 7.938 kB / 477.6 MB, free: 7.773 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 9.162e-05/0.1231, allocations: 133.8 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.069e-05/0.1231, allocations: 15.81 kB / 477.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.198e-05/0.1232, allocations: 13.41 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1232, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.1232, allocations: 3.984 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.1232, allocations: 3.938 kB / 477.7 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.1236, allocations: 387.3 kB / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1236, allocations: 384 / 478.1 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.1237, allocations: 12.03 kB / 478.1 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.1237, allocations: 7.938 kB / 478.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1237, allocations: 4 kB / 478.1 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1237, allocations: 7.922 kB / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1237, allocations: 0 / 478.1 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1239, allocations: 204.2 kB / 478.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.797e-05/0.124, allocations: 85.02 kB / 478.4 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.124, allocations: 11.94 kB / 478.4 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.143e-05/0.1241, allocations: 7.984 kB / 478.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.1241, allocations: 4 kB / 478.5 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.1242, allocations: 4 kB / 478.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1243, allocations: 152.9 kB / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1243, allocations: 0 / 478.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1246, allocations: 23.98 kB / 478.6 MB, free: 6.609 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.001358/0.1259, allocations: 1.093 MB / 479.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001607/0.1261, allocations: 67.84 kB / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1261, allocations: 0 / 479.8 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.565e-05/0.1262, allocations: 28.12 kB / 479.8 MB, free: 5.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.1265, allocations: 31.95 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.1281, allocations: 1.678 MB / 481.5 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.1283, allocations: 0.7083 MB / 482.2 MB, free: 3.043 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.196e-05/0.1284, allocations: 12.88 kB / 482.2 MB, free: 3.031 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.77e-05/0.1285, allocations: 35.42 kB / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1285, allocations: 0 / 482.3 MB, free: 2.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01288/0.1414, allocations: 3.004 MB / 485.3 MB, free: 124 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/0.1416, allocations: 237.3 kB / 485.5 MB, free: 15.87 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.701/1.843, allocations: 0 / 485.5 MB, free: 15.87 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test44.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches