Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test24,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001459/0.001459, allocations: 114 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.001588/0.001589, 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.498/1.498, 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.2248/0.2248, allocations: 46.1 MB / 343.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 75.38 kB / 417.2 MB, free: 19.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 62.45 MB / 479.6 MB, free: 5.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003306/0.1318, allocations: 1.785 MB / 481.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.1338, allocations: 1.009 MB / 482.4 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.163e-05/0.1339, allocations: 4 kB / 482.4 MB, free: 2.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002676/0.1342, allocations: 39.89 kB / 482.4 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.1344, allocations: 87.67 kB / 482.5 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.1346, allocations: 55.89 kB / 482.6 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.1348, allocations: 111.7 kB / 482.7 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002896/0.1351, allocations: 7.984 kB / 482.7 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.1352, allocations: 55.72 kB / 482.8 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/0.1352, allocations: 35.8 kB / 482.8 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.1353, allocations: 4 kB / 482.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.647e-05/0.1353, allocations: 47.97 kB / 482.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.1354, allocations: 19.92 kB / 482.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.1355, allocations: 31.75 kB / 482.9 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.1356, allocations: 127.8 kB / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.1356, allocations: 0 / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1356, allocations: 0 / 483 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.1357, allocations: 0 / 483 MB, free: 2.066 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.0007212/0.1364, allocations: 430.9 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.1364, allocations: 8.031 kB / 483.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.141e-05/0.1365, allocations: 30.75 kB / 483.5 MB, free: 1.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.1365, allocations: 16.75 kB / 483.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.1368, allocations: 208.1 kB / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.1368, allocations: 384 / 483.7 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.1368, allocations: 7.938 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.137, allocations: 57.61 kB / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.137, allocations: 0 / 483.8 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.137, allocations: 4 kB / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.137, allocations: 0 / 483.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.1371, allocations: 19.98 kB / 483.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1375, allocations: 292.9 kB / 484.1 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1376, allocations: 50.62 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.573e-05/0.1377, allocations: 28.84 kB / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.1377, allocations: 0 / 484.1 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002612/0.138, allocations: 71.31 kB / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.138, allocations: 0 / 484.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004863/0.1385, allocations: 185 kB / 484.4 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.008e-05/0.1385, allocations: 51.41 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.1388, allocations: 210.8 kB / 484.7 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.1388, allocations: 29.7 kB / 484.7 MB, free: 196 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.1389, allocations: 108.1 kB / 484.8 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.1389, allocations: 23.7 kB / 484.8 MB, free: 60 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.1392, allocations: 21.72 kB / 484.8 MB, free: 32 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003614/0.1395, allocations: 326.8 kB / 485.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.011e-05/0.1396, allocations: 15.98 kB / 485.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/0.1397, allocations: 45.64 kB / 485.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002569/0.1399, allocations: 62.14 kB / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1399, allocations: 0 / 485.3 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001761/0.1401, allocations: 105.4 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1401, allocations: 4 kB / 485.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1402, allocations: 4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1402, allocations: 4 kB / 485.4 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.1403, allocations: 19.98 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.827e-06/0.1403, allocations: 4.031 kB / 485.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.547e-05/0.1403, allocations: 11.88 kB / 485.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.191e-06/0.1403, allocations: 0 / 485.4 MB, free: 15.41 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.0002655/0.1406, allocations: 133.8 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.148e-05/0.1406, allocations: 7.906 kB / 485.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/0.1407, allocations: 17.41 kB / 485.6 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1407, allocations: 3.984 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.1407, allocations: 3.984 kB / 485.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1407, allocations: 3.938 kB / 485.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005039/0.1412, allocations: 399.2 kB / 486 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1412, allocations: 4 kB / 486 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.288e-05/0.1413, allocations: 7.984 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1413, allocations: 7.938 kB / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.1413, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1413, allocations: 0 / 486 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1413, allocations: 4 kB / 486 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003047/0.1416, allocations: 204.3 kB / 486.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.1417, allocations: 89.11 kB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1417, allocations: 7.938 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.806e-05/0.1418, allocations: 7.922 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.844e-05/0.1418, allocations: 4 kB / 486.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1418, allocations: 4 kB / 486.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001354/0.142, allocations: 168.3 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.142, allocations: 3.938 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002446/0.1423, allocations: 16 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.001637/0.1439, allocations: 1.087 MB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003219/0.1443, allocations: 67.89 kB / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1443, allocations: 0 / 487.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.1443, allocations: 23.98 kB / 487.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.1447, allocations: 43.67 kB / 487.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.1465, allocations: 1.706 MB / 489.4 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.1471, allocations: 0.7041 MB / 490.1 MB, free: 10.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.1472, allocations: 12.88 kB / 490.1 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1473, allocations: 43.41 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1473, allocations: 4 kB / 490.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.1619, allocations: 3.322 MB / 493.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002472/0.1621, allocations: 237.8 kB / 493.7 MB, free: 7.098 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.01/2.172, allocations: 3.938 kB / 493.7 MB, free: 7.094 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test24.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches