Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 115.9 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001648/0.001648, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.4 MB, free: 9.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 81 kB / 417.2 MB, free: 19.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1299, allocations: 62.44 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003075/0.133, allocations: 1.793 MB / 481.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00152/0.1345, allocations: 1.002 MB / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.172e-05/0.1346, allocations: 0 / 482.4 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1349, allocations: 43.83 kB / 482.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.1353, allocations: 83.73 kB / 482.5 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002009/0.1355, allocations: 59.88 kB / 482.6 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.1357, allocations: 115.6 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.018e-05/0.1358, allocations: 8 kB / 482.7 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.1358, allocations: 39.8 kB / 482.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.1359, allocations: 39.77 kB / 482.8 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1359, allocations: 4 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.1361, allocations: 43.98 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1361, allocations: 27.84 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1362, allocations: 35.75 kB / 482.9 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.1364, allocations: 123.9 kB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1364, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1364, allocations: 0 / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.1364, allocations: 0 / 483 MB, free: 2.055 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005024/0.1369, allocations: 422.9 kB / 483.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.137, allocations: 8.031 kB / 483.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.549e-05/0.137, allocations: 38.75 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.137, allocations: 12.75 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.1372, allocations: 212 kB / 483.7 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1373, allocations: 4.375 kB / 483.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.1373, allocations: 11.94 kB / 483.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001473/0.1374, allocations: 49.67 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.1375, allocations: 0 / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1375, allocations: 4 kB / 483.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.1375, allocations: 4 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.892e-05/0.1376, allocations: 15.98 kB / 483.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003322/0.1379, allocations: 288.9 kB / 484.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1381, allocations: 62.62 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.1381, allocations: 20.84 kB / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.1382, allocations: 0 / 484.1 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000186/0.1384, allocations: 71.39 kB / 484.2 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.542e-06/0.1384, allocations: 4 kB / 484.2 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005078/0.1389, allocations: 181 kB / 484.4 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.1389, allocations: 51.41 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.1391, allocations: 214.8 kB / 484.7 MB, free: 216 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.1391, allocations: 25.7 kB / 484.7 MB, free: 184 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.1392, allocations: 112 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.1392, allocations: 23.69 kB / 484.8 MB, free: 44 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1393, allocations: 29.66 kB / 484.8 MB, free: 8 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1394, allocations: 326.8 kB / 485.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.886e-05/0.1395, allocations: 23.98 kB / 485.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.97e-05/0.1395, allocations: 33.7 kB / 485.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.1396, allocations: 53.72 kB / 485.3 MB, free: 15.56 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1396, allocations: 3.984 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001698/0.1398, allocations: 105.4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1398, allocations: 8 kB / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.1399, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1399, allocations: 0 / 485.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.533e-05/0.14, allocations: 19.92 kB / 485.4 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.14, allocations: 4 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.415e-05/0.14, allocations: 7.875 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.14, allocations: 8 kB / 485.4 MB, free: 15.4 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 (10): * Single equations (assignments): 10 * 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 9.541e-05/0.1401, allocations: 125.8 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.1402, allocations: 15.94 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.1402, allocations: 13.41 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.1402, allocations: 4 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1402, allocations: 3.984 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1402, allocations: 3.938 kB / 485.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004009/0.1406, allocations: 399.2 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1407, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.1407, allocations: 8 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.1407, allocations: 11.95 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1407, allocations: 4 kB / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1407, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1407, allocations: 0 / 486 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.1409, allocations: 200.2 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.12e-05/0.141, allocations: 88.92 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.141, allocations: 8.312 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.818e-05/0.1411, allocations: 7.984 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.324e-05/0.1411, allocations: 8 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1412, allocations: 8 kB / 486.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1413, allocations: 152.3 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1413, allocations: 192 / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002497/0.1416, allocations: 23.98 kB / 486.5 MB, free: 14.23 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: 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 (8): * Single equations (assignments): 6 * 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.001361/0.1429, allocations: 1.092 MB / 487.6 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.1431, allocations: 63.91 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1431, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.1432, allocations: 35.92 kB / 487.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1435, allocations: 32.23 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.1452, allocations: 1.71 MB / 489.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1455, allocations: 0.7158 MB / 490.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.797e-05/0.1456, allocations: 12.86 kB / 490.1 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.1456, allocations: 35.42 kB / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1456, allocations: 0 / 490.2 MB, free: 10.56 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06019/0.2058, allocations: 3.328 MB / 493.5 MB, free: 7.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004009/0.2063, allocations: 236.9 kB / 493.7 MB, free: 7.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.044/2.25, allocations: 4 kB / 493.7 MB, free: 7.078 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test23.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches