Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 103.8 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.001924/0.001924, 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.41/1.41, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2542/0.2542, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 84.22 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.117, allocations: 62.44 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003963/0.121, allocations: 1.936 MB / 482.1 MB, free: 3.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.1228, allocations: 1.056 MB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.123, allocations: 7.938 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002989/0.1233, allocations: 39.72 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003706/0.1237, allocations: 107.5 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.124, allocations: 91.7 kB / 483.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1243, allocations: 143.5 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1245, allocations: 33.55 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.1247, allocations: 55.72 kB / 483.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.1248, allocations: 43.72 kB / 483.6 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.97e-05/0.1248, allocations: 8 kB / 483.7 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.1249, allocations: 55.91 kB / 483.7 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.288e-05/0.125, allocations: 23.92 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.1251, allocations: 51.67 kB / 483.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003/0.1254, allocations: 155.7 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1254, allocations: 4 kB / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1254, allocations: 0 / 483.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1255, allocations: 0 / 483.9 MB, free: 1.352 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.0007552/0.1262, allocations: 484.5 kB / 484.4 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.1263, allocations: 8.031 kB / 484.4 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.38e-05/0.1263, allocations: 42.73 kB / 484.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.566e-05/0.1264, allocations: 16.75 kB / 484.5 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003651/0.1268, allocations: 233.5 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1268, allocations: 8.312 kB / 484.7 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.1268, allocations: 11.94 kB / 484.7 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002604/0.1271, allocations: 111 kB / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1271, allocations: 0 / 484.8 MB, free: 348 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.1272, allocations: 4 kB / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1272, allocations: 0 / 484.8 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.1273, allocations: 51.91 kB / 484.9 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007003/0.1281, allocations: 0.5088 MB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003703/0.1284, allocations: 82.66 kB / 485.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.1286, allocations: 44.84 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.821e-05/0.1286, allocations: 0 / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002763/0.1289, allocations: 87.3 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.1289, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000416/0.1293, allocations: 149.3 kB / 485.8 MB, free: 15.33 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.1294, allocations: 59.41 kB / 485.8 MB, free: 15.26 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001939/0.1296, allocations: 198.2 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1296, allocations: 25.7 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.1297, allocations: 120 kB / 486.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.982e-05/0.1297, allocations: 31.59 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.743e-05/0.1298, allocations: 29.7 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1299, allocations: 326.8 kB / 486.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.429e-05/0.13, allocations: 31.98 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.1301, allocations: 60.27 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.1303, allocations: 100.2 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.1303, allocations: 4 kB / 486.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002735/0.1306, allocations: 133.3 kB / 486.8 MB, free: 14.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1306, allocations: 4 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.1306, allocations: 0 / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1306, allocations: 7.938 kB / 486.9 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.488e-05/0.1307, allocations: 20.11 kB / 486.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1308, allocations: 11.94 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.1308, allocations: 16.39 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-06/0.1309, allocations: 4 kB / 486.9 MB, free: 14.09 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.0001007/0.131, allocations: 128 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.131, allocations: 15.8 kB / 487.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.647e-05/0.131, allocations: 21.39 kB / 487.1 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1311, allocations: 15.7 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.1311, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.1311, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.1312, allocations: 209.5 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.1313, allocations: 3.984 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.718e-05/0.1313, allocations: 12 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.1314, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1314, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.1314, allocations: 7.875 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1314, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003698/0.1318, allocations: 188.8 kB / 487.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.1318, allocations: 84.95 kB / 487.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.1319, allocations: 8 kB / 487.6 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-05/0.1319, allocations: 11.92 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.132, allocations: 4 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.132, allocations: 3.984 kB / 487.6 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001434/0.1321, allocations: 148.4 kB / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1322, allocations: 0 / 487.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002475/0.1324, allocations: 28.06 kB / 487.8 MB, free: 13.11 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.001625/0.134, allocations: 1.012 MB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.1343, allocations: 91.83 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1343, allocations: 4 kB / 488.9 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.1344, allocations: 35.92 kB / 488.9 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.1348, allocations: 40.47 kB / 489 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.1368, allocations: 1.736 MB / 490.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.1371, allocations: 0.72 MB / 491.4 MB, free: 9.461 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.342e-05/0.1371, allocations: 21.42 kB / 491.4 MB, free: 9.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.1372, allocations: 39.42 kB / 491.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1372, allocations: 0 / 491.5 MB, free: 9.402 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02229/0.1595, allocations: 3.73 MB / 495.2 MB, free: 5.742 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.148/8.308, allocations: 11.59 kB / 495.2 MB, free: 5.734 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_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_Test13.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches