Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001628/0.001628, allocations: 114.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002001/0.002001, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.586/1.586, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2187/0.2187, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 69.95 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 62.45 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003526/0.1237, allocations: 1.75 MB / 481.4 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001663/0.1254, allocations: 0.9861 MB / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001033/0.1255, allocations: 0 / 482.3 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.1258, allocations: 55.86 kB / 482.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003583/0.1262, allocations: 107.7 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1265, allocations: 55.88 kB / 482.6 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1267, allocations: 107.7 kB / 482.7 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.1267, allocations: 4.234 kB / 482.7 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1269, allocations: 55.7 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.127, allocations: 39.84 kB / 482.8 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.459e-05/0.127, allocations: 4 kB / 482.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.964e-05/0.1271, allocations: 39.97 kB / 482.8 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.1272, allocations: 23.92 kB / 482.8 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.222e-05/0.1272, allocations: 31.75 kB / 482.9 MB, free: 2.203 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001964/0.1274, allocations: 111.8 kB / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1274, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1274, allocations: 0 / 483 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.1275, allocations: 0 / 483 MB, free: 2.094 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005176/0.128, allocations: 399 kB / 483.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.908e-05/0.128, allocations: 12.03 kB / 483.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.471e-05/0.1281, allocations: 34.73 kB / 483.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.79e-05/0.1281, allocations: 12.84 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.1284, allocations: 214.6 kB / 483.6 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.1284, allocations: 4.359 kB / 483.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.1284, allocations: 7.938 kB / 483.6 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1286, allocations: 45.62 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1286, allocations: 0 / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.1286, allocations: 0 / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.1286, allocations: 7.984 kB / 483.7 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.41e-05/0.1287, allocations: 12 kB / 483.7 MB, free: 1.262 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002301/0.129, allocations: 181.7 kB / 483.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1291, allocations: 58.55 kB / 483.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.363e-05/0.1292, allocations: 24.83 kB / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.1292, allocations: 0 / 484 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1295, allocations: 79.23 kB / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.1295, allocations: 0 / 484 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002905/0.1298, allocations: 93.52 kB / 484.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.1298, allocations: 51.41 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001841/0.13, allocations: 190.9 kB / 484.4 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.1301, allocations: 25.7 kB / 484.4 MB, free: 476 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.1301, allocations: 108.1 kB / 484.5 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.1302, allocations: 11.81 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.885e-05/0.1302, allocations: 21.72 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.1304, allocations: 322.8 kB / 484.8 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.123e-05/0.1305, allocations: 15.98 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.209e-05/0.1305, allocations: 29.7 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.498e-05/0.1306, allocations: 41.72 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.1306, allocations: 4.188 kB / 484.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000162/0.1308, allocations: 89.52 kB / 485 MB, free: 15.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.1308, allocations: 10.66 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1308, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1309, allocations: 0 / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.476e-05/0.1309, allocations: 8 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.131, allocations: 4 kB / 485 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.507e-05/0.131, allocations: 3.984 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.131, allocations: 4 kB / 485 MB, free: 15.77 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 (7): * Single equations (assignments): 7 * 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.000104/0.1311, allocations: 129.8 kB / 485.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.1312, allocations: 19.75 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.1312, allocations: 16.98 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.1312, allocations: 4 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1312, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1312, allocations: 0 / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.1314, allocations: 197.5 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1314, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.107e-05/0.1314, allocations: 4 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1314, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.1314, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1314, allocations: 4 kB / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1314, allocations: 0 / 485.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001912/0.1316, allocations: 109 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1317, allocations: 88.95 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.103e-05/0.1317, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.1318, allocations: 7.984 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1318, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.1318, allocations: 4 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001245/0.132, allocations: 156.7 kB / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.132, allocations: 0 / 485.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002047/0.1322, allocations: 23.91 kB / 485.8 MB, free: 14.93 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001296/0.1335, allocations: 0.9426 MB / 486.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.1336, allocations: 43.92 kB / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1336, allocations: 0 / 486.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.005e-05/0.1337, allocations: 23.98 kB / 486.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.134, allocations: 31.2 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.1355, allocations: 1.514 MB / 488.3 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1358, allocations: 0.701 MB / 489 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.952e-05/0.1359, allocations: 16.53 kB / 489.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.079e-05/0.136, allocations: 31.42 kB / 489.1 MB, free: 11.62 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.136, allocations: 7.938 kB / 489.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09941/0.2354, allocations: 2.958 MB / 492.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002524/0.2357, allocations: 238 kB / 492.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.927/2.163, allocations: 4.062 kB / 492.3 MB, free: 8.496 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches