Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001585, allocations: 114 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.00195/0.00195, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.4 MB / 246.4 MB, free: 9.074 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2429/0.2429, allocations: 46.1 MB / 343.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 84.53 kB / 417.2 MB, free: 19.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1419, allocations: 62.44 MB / 479.6 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003277/0.1452, allocations: 1.795 MB / 481.4 MB, free: 3.668 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.1468, allocations: 1.009 MB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.013e-05/0.1469, allocations: 0 / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003388/0.1472, allocations: 39.83 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.1476, allocations: 79.75 kB / 482.5 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.1477, allocations: 63.88 kB / 482.6 MB, free: 2.473 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1479, allocations: 103.7 kB / 482.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.148, allocations: 11.98 kB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.746e-05/0.1481, allocations: 43.73 kB / 482.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.1482, allocations: 39.78 kB / 482.8 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.1483, allocations: 4 kB / 482.8 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.1484, allocations: 47.98 kB / 482.8 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.693e-05/0.1484, allocations: 19.92 kB / 482.9 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.1485, allocations: 39.72 kB / 482.9 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.1487, allocations: 107.9 kB / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.1487, allocations: 0 / 483 MB, free: 2.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1487, allocations: 3.938 kB / 483 MB, free: 2.059 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1487, allocations: 0 / 483 MB, free: 2.059 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.0006459/0.1494, allocations: 411 kB / 483.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.808e-05/0.1494, allocations: 12.03 kB / 483.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.1495, allocations: 34.75 kB / 483.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.1495, allocations: 16.75 kB / 483.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1498, allocations: 204.1 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.1498, allocations: 384 / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.1498, allocations: 15.88 kB / 483.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001588/0.15, allocations: 53.61 kB / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.15, allocations: 0 / 483.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.15, allocations: 4 kB / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1501, allocations: 0 / 483.7 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.863e-05/0.1501, allocations: 19.98 kB / 483.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.1505, allocations: 284.9 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.1507, allocations: 62.61 kB / 484.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.1508, allocations: 16.86 kB / 484.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1508, allocations: 7.984 kB / 484.1 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002019/0.151, allocations: 67.39 kB / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.633e-06/0.151, allocations: 0 / 484.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005554/0.1516, allocations: 169.4 kB / 484.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.1517, allocations: 63.33 kB / 484.4 MB, free: 464 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.1519, allocations: 181.9 kB / 484.6 MB, free: 272 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.1519, allocations: 25.7 kB / 484.6 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.152, allocations: 108 kB / 484.7 MB, free: 128 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.152, allocations: 31.64 kB / 484.8 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.901e-05/0.152, allocations: 21.72 kB / 484.8 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1522, allocations: 322.8 kB / 485.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1523, allocations: 28.11 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-05/0.1523, allocations: 37.7 kB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1525, allocations: 57.72 kB / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1525, allocations: 0 / 485.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.1527, allocations: 105.5 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.1527, allocations: 4 kB / 485.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1527, allocations: 4 kB / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1527, allocations: 0 / 485.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.929e-05/0.1528, allocations: 12 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.1528, allocations: 3.984 kB / 485.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.1529, allocations: 7.938 kB / 485.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.506e-06/0.1529, allocations: 4 kB / 485.3 MB, free: 15.46 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.0001054/0.153, allocations: 133.8 kB / 485.5 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.153, allocations: 11.81 kB / 485.5 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.103e-05/0.1531, allocations: 17.39 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1531, allocations: 4 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1531, allocations: 192 / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1531, allocations: 3.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.1536, allocations: 399.4 kB / 485.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.07e-05/0.1536, allocations: 3.984 kB / 485.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1536, allocations: 8 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.1536, allocations: 7.938 kB / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.1536, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1537, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1537, allocations: 0 / 485.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.1539, allocations: 204.3 kB / 486.1 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.154, allocations: 92.91 kB / 486.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.154, allocations: 7.938 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.128e-05/0.1541, allocations: 4 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1541, allocations: 11.92 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.1541, allocations: 4 kB / 486.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.1543, allocations: 137.8 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 0 / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002549/0.1545, allocations: 27.98 kB / 486.4 MB, free: 14.3 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.001466/0.156, allocations: 1.083 MB / 487.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.1562, allocations: 63.89 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1562, allocations: 0 / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.1563, allocations: 31.98 kB / 487.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1566, allocations: 27.17 kB / 487.6 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00174/0.1584, allocations: 1.647 MB / 489.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003032/0.1587, allocations: 0.7079 MB / 490 MB, free: 10.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.312e-05/0.1587, allocations: 12.88 kB / 490 MB, free: 10.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.259e-05/0.1588, allocations: 35.42 kB / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1588, allocations: 0 / 490 MB, free: 10.71 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.1733, allocations: 3.222 MB / 493.2 MB, free: 7.602 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/0.1735, allocations: 236.3 kB / 493.5 MB, free: 7.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.092, allocations: 0 / 493.5 MB, free: 7.348 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches