Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001668, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002106, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2326/0.2326, allocations: 46.11 MB / 343.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 81 kB / 417 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1285, allocations: 62.44 MB / 479.4 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.00342/0.1319, allocations: 1.789 MB / 481.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1338, allocations: 1.025 MB / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.237e-05/0.1339, allocations: 0 / 482.2 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003169/0.1342, allocations: 51.75 kB / 482.3 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002906/0.1345, allocations: 79.73 kB / 482.3 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.1348, allocations: 67.86 kB / 482.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000172/0.1349, allocations: 91.77 kB / 482.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1351, allocations: 15.94 kB / 482.5 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.496e-05/0.1352, allocations: 43.77 kB / 482.5 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.361e-05/0.1352, allocations: 31.8 kB / 482.6 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.1353, allocations: 8 kB / 482.6 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1354, allocations: 39.98 kB / 482.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.677e-05/0.1355, allocations: 31.89 kB / 482.7 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.057e-05/0.1355, allocations: 39.62 kB / 482.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1358, allocations: 123.9 kB / 482.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1358, allocations: 3.938 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1358, allocations: 0 / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1358, allocations: 0 / 482.8 MB, free: 2.141 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.0005425/0.1363, allocations: 426.9 kB / 483.2 MB, free: 1.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.1364, allocations: 12.88 kB / 483.3 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/0.1364, allocations: 34.75 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1365, allocations: 12.84 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1367, allocations: 216.8 kB / 483.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1368, allocations: 8.312 kB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.1368, allocations: 7.938 kB / 483.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.1369, allocations: 53.67 kB / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.137, allocations: 0 / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.137, allocations: 0 / 483.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.137, allocations: 4 kB / 483.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.682e-05/0.1371, allocations: 19.98 kB / 483.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.1375, allocations: 296.8 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.1377, allocations: 58.61 kB / 483.9 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.535e-05/0.1377, allocations: 16.86 kB / 484 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1378, allocations: 8 kB / 484 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002172/0.138, allocations: 71.3 kB / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.326e-06/0.138, allocations: 0 / 484 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006067/0.1386, allocations: 189 kB / 484.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.1387, allocations: 51.41 kB / 484.3 MB, free: 500 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/0.1389, allocations: 239 kB / 484.5 MB, free: 252 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.139, allocations: 33.7 kB / 484.5 MB, free: 212 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.1391, allocations: 104.1 kB / 484.6 MB, free: 104 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.1391, allocations: 31.58 kB / 484.7 MB, free: 72 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.178e-05/0.1392, allocations: 25.72 kB / 484.7 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1393, allocations: 322.8 kB / 485 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.1394, allocations: 27.92 kB / 485 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.03e-05/0.1395, allocations: 33.7 kB / 485.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.1396, allocations: 57.7 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1396, allocations: 0 / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.1398, allocations: 105.4 kB / 485.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1399, allocations: 4 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1399, allocations: 4 kB / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1399, allocations: 0 / 485.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.486e-05/0.14, allocations: 15.98 kB / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.14, allocations: 0 / 485.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.1401, allocations: 11.97 kB / 485.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.1401, allocations: 8.156 kB / 485.3 MB, free: 15.43 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 0.000115/0.1402, allocations: 132.7 kB / 485.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.567e-05/0.1402, allocations: 7.906 kB / 485.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.706e-05/0.1403, allocations: 33.36 kB / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1403, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/0.1403, allocations: 0 / 485.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1403, allocations: 7.938 kB / 485.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004916/0.1408, allocations: 403.2 kB / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1408, allocations: 0 / 485.8 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.558e-05/0.1409, allocations: 8 kB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1409, allocations: 3.938 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1409, allocations: 4 kB / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1409, allocations: 0 / 485.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.1409, allocations: 3.984 kB / 485.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.1412, allocations: 212.2 kB / 486.1 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.1412, allocations: 85.3 kB / 486.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1413, allocations: 7.938 kB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1414, allocations: 11.94 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.609e-05/0.1414, allocations: 7.984 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1414, allocations: 4 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001652/0.1416, allocations: 176.4 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.1416, allocations: 4 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1419, allocations: 24.19 kB / 486.4 MB, free: 14.21 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.001456/0.1433, allocations: 1.084 MB / 487.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001788/0.1435, allocations: 55.98 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1435, allocations: 3.938 kB / 487.5 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.1436, allocations: 27.97 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/0.144, allocations: 31.86 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001971/0.146, allocations: 1.758 MB / 489.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.1463, allocations: 0.7082 MB / 490.1 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.461e-05/0.1464, allocations: 16.88 kB / 490.1 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.405e-05/0.1465, allocations: 39.42 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1465, allocations: 3.938 kB / 490.1 MB, free: 10.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.161, allocations: 3.348 MB / 493.5 MB, free: 7.262 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001886/0.1612, allocations: 237.1 kB / 493.7 MB, free: 7.008 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.917/2.078, allocations: 7.938 kB / 493.7 MB, free: 7 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test53.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test53.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches