Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 114 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001235/0.001235, allocations: 205.8 kB / 18.27 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2449/0.2449, allocations: 46.11 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 73.27 kB / 417.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1186, allocations: 62.44 MB / 479.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.003108/0.1217, allocations: 1.808 MB / 481.4 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001525/0.1233, allocations: 1.021 MB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.452e-05/0.1234, allocations: 0 / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003033/0.1237, allocations: 47.81 kB / 482.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.124, allocations: 79.75 kB / 482.6 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.1242, allocations: 67.86 kB / 482.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.1244, allocations: 131.6 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.1245, allocations: 19.98 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.1246, allocations: 47.78 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.009e-05/0.1247, allocations: 51.77 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1247, allocations: 8 kB / 482.9 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.1248, allocations: 63.92 kB / 482.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.1249, allocations: 31.89 kB / 483 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.518e-05/0.1249, allocations: 43.69 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.1251, allocations: 151.8 kB / 483.2 MB, free: 1.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1252, allocations: 4 kB / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1252, allocations: 0 / 483.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1252, allocations: 0 / 483.2 MB, free: 1.926 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005333/0.1257, allocations: 430.9 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1258, allocations: 8.031 kB / 483.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.256e-05/0.1258, allocations: 38.75 kB / 483.6 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1258, allocations: 16.69 kB / 483.6 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1261, allocations: 220 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1261, allocations: 8.375 kB / 483.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1261, allocations: 11.92 kB / 483.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.1263, allocations: 69.66 kB / 483.9 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1263, allocations: 4 kB / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.1263, allocations: 0 / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1264, allocations: 0 / 484 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1265, allocations: 47.91 kB / 484 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1269, allocations: 328.6 kB / 484.3 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002778/0.1272, allocations: 86.56 kB / 484.4 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.606e-05/0.1273, allocations: 40.81 kB / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1273, allocations: 0 / 484.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002233/0.1275, allocations: 83.31 kB / 484.5 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.1275, allocations: 4 kB / 484.5 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008587/0.1284, allocations: 281 kB / 484.8 MB, free: 104 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.1284, allocations: 59.34 kB / 484.9 MB, free: 32 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001954/0.1286, allocations: 199 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1287, allocations: 29.7 kB / 485.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.765e-05/0.1287, allocations: 108.3 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.1288, allocations: 47.34 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-05/0.1288, allocations: 29.72 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.129, allocations: 326.8 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.159e-05/0.1291, allocations: 39.98 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.593e-05/0.1292, allocations: 60.22 kB / 485.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.1293, allocations: 97.64 kB / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1293, allocations: 0 / 485.8 MB, free: 15.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002476/0.1296, allocations: 164.8 kB / 485.9 MB, free: 14.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1296, allocations: 7.938 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1296, allocations: 0 / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1296, allocations: 4 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.1297, allocations: 28.77 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1297, allocations: 0 / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.1298, allocations: 4 kB / 486 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.1298, allocations: 11.98 kB / 486 MB, free: 14.85 MB / 366.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 (15): * Single equations (assignments): 15 * 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.0001048/0.1299, allocations: 129.8 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.733e-05/0.13, allocations: 15.81 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.13, allocations: 21.52 kB / 486.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.13, allocations: 3.938 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.13, allocations: 0 / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.13, allocations: 3.938 kB / 486.2 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006406/0.1307, allocations: 492.1 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1307, allocations: 4.031 kB / 486.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.271e-05/0.1308, allocations: 19.94 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1308, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.1308, allocations: 11.92 kB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.1308, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.1308, allocations: 0 / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.1312, allocations: 261 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1312, allocations: 88.92 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.1313, allocations: 8 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.121e-05/0.1314, allocations: 3.984 kB / 487 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1314, allocations: 15.94 kB / 487 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1314, allocations: 7.984 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1316, allocations: 144.3 kB / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1316, allocations: 0 / 487.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.1319, allocations: 36 kB / 487.2 MB, free: 13.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 11 * 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.001631/0.1335, allocations: 1.182 MB / 488.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002525/0.1338, allocations: 107.9 kB / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1338, allocations: 0 / 488.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.1339, allocations: 55.91 kB / 488.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.1343, allocations: 34.97 kB / 488.6 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.1364, allocations: 1.879 MB / 490.5 MB, free: 10.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1367, allocations: 0.7162 MB / 491.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.1368, allocations: 25.41 kB / 491.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.523e-05/0.1369, allocations: 47.42 kB / 491.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1369, allocations: 0 / 491.3 MB, free: 9.492 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01464/0.1515, allocations: 3.894 MB / 495.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002067/0.1517, allocations: 237.7 kB / 495.4 MB, free: 5.457 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.022, allocations: 0 / 495.4 MB, free: 5.457 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test76.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches