Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001141/0.001141, allocations: 104.9 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001276/0.001276, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.459/1.459, allocations: 227.4 MB / 246.8 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.245/0.245, allocations: 46.1 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 80.19 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1141, allocations: 62.43 MB / 480.1 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003425/0.1176, allocations: 1.939 MB / 482.1 MB, free: 3.207 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.1193, allocations: 1.06 MB / 483.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1195, allocations: 4 kB / 483.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003105/0.1198, allocations: 39.7 kB / 483.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003147/0.1201, allocations: 103.5 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.1204, allocations: 99.64 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002033/0.1206, allocations: 131.6 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.1207, allocations: 37.53 kB / 483.5 MB, free: 1.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.513e-05/0.1208, allocations: 59.7 kB / 483.6 MB, free: 1.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.415e-05/0.1209, allocations: 43.72 kB / 483.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.121, allocations: 8 kB / 483.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00011/0.1211, allocations: 55.86 kB / 483.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.443e-05/0.1211, allocations: 27.91 kB / 483.7 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.1212, allocations: 55.67 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1215, allocations: 155.7 kB / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1215, allocations: 0 / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1215, allocations: 0 / 483.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.1215, allocations: 0 / 483.9 MB, free: 1.336 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000623/0.1221, allocations: 484.4 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1222, allocations: 8.031 kB / 484.4 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.1222, allocations: 42.73 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.516e-05/0.1223, allocations: 20.75 kB / 484.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1225, allocations: 221.6 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1225, allocations: 16.31 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1226, allocations: 11.92 kB / 484.7 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002345/0.1228, allocations: 104.2 kB / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.1228, allocations: 0 / 484.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1229, allocations: 7.984 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1229, allocations: 4 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001531/0.123, allocations: 55.91 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006148/0.1237, allocations: 0.5048 MB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.124, allocations: 90.59 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.501e-05/0.1241, allocations: 36.84 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.1241, allocations: 0 / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000247/0.1244, allocations: 91.31 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.1244, allocations: 0 / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000394/0.1248, allocations: 141.3 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.1249, allocations: 63.39 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.1251, allocations: 199 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.1251, allocations: 29.7 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.1252, allocations: 120 kB / 486.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.768e-05/0.1252, allocations: 31.61 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.1253, allocations: 25.72 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1254, allocations: 326.8 kB / 486.5 MB, free: 14.49 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.1255, allocations: 27.98 kB / 486.6 MB, free: 14.46 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001027/0.1256, allocations: 64.27 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001878/0.1258, allocations: 92.22 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1258, allocations: 4 kB / 486.7 MB, free: 14.28 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002762/0.1261, allocations: 141.8 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.1261, allocations: 6.5 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1261, allocations: 96 / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.1261, allocations: 11.88 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.855e-05/0.1262, allocations: 23.92 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.14e-06/0.1263, allocations: 4 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.771e-05/0.1263, allocations: 11.92 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.1263, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001106/0.1265, allocations: 133.8 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.1265, allocations: 11.81 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.1266, allocations: 25.38 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.1266, allocations: 11.88 kB / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1266, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.1266, allocations: 0 / 487.1 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1268, allocations: 213.5 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1268, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.1269, allocations: 15.98 kB / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1269, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1269, allocations: 0 / 487.3 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.175e-06/0.1269, allocations: 7.938 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.1269, allocations: 4 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1273, allocations: 184.8 kB / 487.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.511e-05/0.1274, allocations: 88.95 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.1274, allocations: 4.031 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.1275, allocations: 11.92 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.737e-05/0.1275, allocations: 8.062 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.1275, allocations: 4 kB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001212/0.1277, allocations: 144.4 kB / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1277, allocations: 0 / 487.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000255/0.1279, allocations: 27.98 kB / 487.8 MB, free: 13.1 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001505/0.1294, allocations: 1.016 MB / 488.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002863/0.1297, allocations: 83.89 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.1297, allocations: 4 kB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1299, allocations: 35.92 kB / 488.9 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003257/0.1302, allocations: 45.38 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002061/0.1323, allocations: 1.739 MB / 490.7 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.1325, allocations: 0.7239 MB / 491.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.746e-05/0.1326, allocations: 25.34 kB / 491.5 MB, free: 9.418 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.655e-05/0.1327, allocations: 39.42 kB / 491.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1327, allocations: 0 / 491.5 MB, free: 9.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.1544, allocations: 3.726 MB / 495.2 MB, free: 5.723 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.114/8.268, allocations: 11.61 kB / 495.2 MB, free: 5.715 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches