Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 106.4 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001503, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.4 MB, free: 9.078 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2193/0.2193, allocations: 46.1 MB / 343.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 77.05 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1222, allocations: 62.45 MB / 479.6 MB, free: 5.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003889/0.1262, allocations: 1.883 MB / 481.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.1287, allocations: 1.669 MB / 483.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001311/0.1289, allocations: 7.938 kB / 483.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003896/0.1293, allocations: 39.83 kB / 483.2 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004569/0.1298, allocations: 119.6 kB / 483.3 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.1301, allocations: 91.78 kB / 483.4 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.1304, allocations: 199.4 kB / 483.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.1305, allocations: 13.69 kB / 483.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001786/0.1307, allocations: 91.56 kB / 483.7 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1309, allocations: 87.59 kB / 483.8 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.002e-05/0.131, allocations: 12 kB / 483.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002383/0.1312, allocations: 107.9 kB / 483.9 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.512e-05/0.1313, allocations: 31.84 kB / 483.9 MB, free: 1.133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.384e-05/0.1314, allocations: 67.53 kB / 484 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003819/0.1318, allocations: 227.6 kB / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1318, allocations: 0 / 484.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1318, allocations: 4 kB / 484.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.1318, allocations: 0 / 484.2 MB, free: 0.8398 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008166/0.1326, allocations: 490.6 kB / 484.7 MB, free: 320 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1327, allocations: 12.03 kB / 484.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.567e-05/0.1328, allocations: 34.69 kB / 484.8 MB, free: 264 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.1328, allocations: 20.66 kB / 484.8 MB, free: 244 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.1332, allocations: 256.9 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1333, allocations: 4.375 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.03e-05/0.1333, allocations: 11.94 kB / 485 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1336, allocations: 97.02 kB / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1336, allocations: 0 / 485.1 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.1336, allocations: 8 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1336, allocations: 3.984 kB / 485.2 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001255/0.1337, allocations: 27.97 kB / 485.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.1341, allocations: 230.5 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002987/0.1344, allocations: 109.1 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.1345, allocations: 41.7 kB / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.1345, allocations: 0 / 485.6 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003341/0.1349, allocations: 112.9 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.1349, allocations: 0 / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.000532/0.1354, allocations: 169.4 kB / 485.8 MB, free: 15.03 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.1356, allocations: 132.5 kB / 486 MB, free: 14.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003057/0.1359, allocations: 237.6 kB / 486.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.1359, allocations: 29.7 kB / 486.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.136, allocations: 116.1 kB / 486.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.5e-05/0.1361, allocations: 27.64 kB / 486.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.557e-05/0.1361, allocations: 29.72 kB / 486.4 MB, free: 14.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1363, allocations: 330.8 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.824e-05/0.1364, allocations: 31.92 kB / 486.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.1365, allocations: 73.14 kB / 486.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1367, allocations: 91.34 kB / 486.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.1367, allocations: 7.969 kB / 486.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002921/0.137, allocations: 137.8 kB / 487 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.137, allocations: 4 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.137, allocations: 0 / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1371, allocations: 4 kB / 487.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.1372, allocations: 24.05 kB / 487.1 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1372, allocations: 4 kB / 487.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.1373, allocations: 11.98 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.126e-05/0.1373, allocations: 4.062 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001201/0.1374, allocations: 142.2 kB / 487.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.858e-05/0.1375, allocations: 23.7 kB / 487.3 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.471e-05/0.1376, allocations: 17 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.1376, allocations: 4 kB / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1376, allocations: 0 / 487.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.1376, allocations: 3.984 kB / 487.3 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002636/0.1379, allocations: 229.4 kB / 487.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.1379, allocations: 0 / 487.5 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.1379, allocations: 8 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.138, allocations: 4 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.138, allocations: 4 kB / 487.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.138, allocations: 7.984 kB / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.138, allocations: 0 / 487.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000388/0.1384, allocations: 169.6 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.847e-05/0.1385, allocations: 88.92 kB / 487.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.898e-05/0.1385, allocations: 15.98 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.1387, allocations: 4 kB / 487.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.1387, allocations: 11.98 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.451e-05/0.1388, allocations: 4 kB / 487.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002288/0.139, allocations: 184.4 kB / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.139, allocations: 0 / 488 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1394, allocations: 51.92 kB / 488.1 MB, free: 12.61 MB / 366.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00272/0.1422, allocations: 1.095 MB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.1426, allocations: 91.83 kB / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.1426, allocations: 0 / 489.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.1427, allocations: 43.92 kB / 489.3 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005029/0.1433, allocations: 63.62 kB / 489.3 MB, free: 11.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003444/0.1467, allocations: 1.899 MB / 491.2 MB, free: 9.449 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.1472, allocations: 0.7242 MB / 492 MB, free: 8.699 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001559/0.1474, allocations: 26.03 kB / 492 MB, free: 8.676 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1475, allocations: 63.39 kB / 492.1 MB, free: 8.613 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1475, allocations: 8 kB / 492.1 MB, free: 8.605 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02677/0.1743, allocations: 5.115 MB / 497.2 MB, free: 3.609 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.1746, allocations: 256.5 kB / 497.4 MB, free: 3.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.894/2.068, allocations: 0 / 497.4 MB, free: 3.34 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches