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.001093/0.001093, allocations: 104.5 kB / 17.63 MB, free: 5.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.001116/0.001116, allocations: 192 kB / 18.56 MB, free: 4.434 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.355/1.355, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2123/0.2123, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 59.53 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1188, allocations: 60.83 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003111/0.1219, allocations: 1.7 MB / 471.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.1233, allocations: 0.8847 MB / 472 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.1234, allocations: 4 kB / 472 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002558/0.1236, allocations: 31.78 kB / 472 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002146/0.1239, allocations: 59.75 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1242, allocations: 107.6 kB / 472.2 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.1244, allocations: 91.7 kB / 472.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.476e-05/0.1245, allocations: 20.22 kB / 472.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.865e-05/0.1246, allocations: 39.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.868e-05/0.1246, allocations: 27.86 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1247, allocations: 4 kB / 472.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.1248, allocations: 47.92 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.091e-05/0.1248, allocations: 23.91 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.602e-05/0.1249, allocations: 35.69 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1251, allocations: 111.9 kB / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1251, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1251, allocations: 0 / 472.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1251, allocations: 4 kB / 472.6 MB, free: 11.07 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.0004833/0.1256, allocations: 414.9 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1257, allocations: 8.031 kB / 473 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.755e-05/0.1257, allocations: 38.69 kB / 473 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.489e-05/0.1258, allocations: 16.83 kB / 473 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.126, allocations: 206.6 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.126, allocations: 4.375 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.126, allocations: 3.938 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.1262, allocations: 57.67 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1262, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.1262, allocations: 7.984 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.1262, allocations: 0 / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.222e-05/0.1263, allocations: 19.98 kB / 473.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.1267, allocations: 292.7 kB / 473.6 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.1268, allocations: 54.69 kB / 473.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.36e-05/0.1269, allocations: 24.84 kB / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.1269, allocations: 0 / 473.7 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001904/0.1271, allocations: 71.33 kB / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.393e-06/0.1271, allocations: 0 / 473.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005192/0.1277, allocations: 173.4 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.1277, allocations: 59.34 kB / 474 MB, free: 9.453 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1279, allocations: 203.3 kB / 474.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1279, allocations: 29.7 kB / 474.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.128, allocations: 100.1 kB / 474.3 MB, free: 9.102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.128, allocations: 19.72 kB / 474.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.219e-05/0.128, allocations: 29.7 kB / 474.3 MB, free: 9.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.1282, allocations: 322.8 kB / 474.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.1282, allocations: 16 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.1283, allocations: 41.7 kB / 474.7 MB, free: 8.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.1284, allocations: 61.62 kB / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1284, allocations: 0 / 474.8 MB, free: 8.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.1286, allocations: 109.5 kB / 474.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.1287, allocations: 4.188 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1287, allocations: 0 / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1287, allocations: 15.95 kB / 474.9 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.347e-05/0.1288, allocations: 15.94 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1288, allocations: 0 / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1288, allocations: 15.86 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1289, allocations: 0 / 474.9 MB, free: 8.43 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.348e-05/0.129, allocations: 129.8 kB / 475.1 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.129, allocations: 7.906 kB / 475.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.078e-05/0.129, allocations: 21.39 kB / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1291, allocations: 0 / 475.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1291, allocations: 4 kB / 475.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1291, allocations: 3.938 kB / 475.1 MB, free: 8.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004157/0.1295, allocations: 391.3 kB / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1295, allocations: 0 / 475.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.456e-05/0.1295, allocations: 11.98 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1296, allocations: 3.938 kB / 475.5 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.1296, allocations: 4 kB / 475.5 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1296, allocations: 3.938 kB / 475.5 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1296, allocations: 4.031 kB / 475.5 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1298, allocations: 200.2 kB / 475.7 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1299, allocations: 85.02 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.1299, allocations: 11.92 kB / 475.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.187e-05/0.13, allocations: 4 kB / 475.8 MB, free: 7.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.13, allocations: 4 kB / 475.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.13, allocations: 7.984 kB / 475.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1302, allocations: 148 kB / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1302, allocations: 0 / 476 MB, free: 7.301 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.1304, allocations: 27.98 kB / 476 MB, free: 7.273 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.001379/0.1318, allocations: 1.108 MB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.132, allocations: 63.89 kB / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.132, allocations: 0 / 477.2 MB, free: 6.262 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.931e-05/0.1321, allocations: 39.98 kB / 477.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.1324, allocations: 23.64 kB / 477.2 MB, free: 6.203 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001611/0.134, allocations: 1.648 MB / 478.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.1343, allocations: 0.7119 MB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.028e-05/0.1344, allocations: 8.891 kB / 479.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.224e-05/0.1344, allocations: 39.42 kB / 479.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1344, allocations: 0 / 479.6 MB, free: 3.68 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01951/0.1539, allocations: 3.348 MB / 483 MB, free: 424 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.548/7.702, allocations: 12 kB / 483 MB, free: 412 kB / 350.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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches