Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 110.2 kB / 15.99 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 192.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.8 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4433/0.4433, allocations: 43.49 MB / 313.6 MB, free: 8.559 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 70.56 kB / 382.3 MB, free: 8.523 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1373, allocations: 57.79 MB / 440.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003992/0.1413, allocations: 1.714 MB / 441.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.143, allocations: 0.7768 MB / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.483e-05/0.1431, allocations: 0 / 442.6 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1435, allocations: 51.83 kB / 442.7 MB, free: 12.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002374/0.1437, allocations: 51.81 kB / 442.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.144, allocations: 71.86 kB / 442.8 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.1441, allocations: 95.69 kB / 442.9 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.337e-05/0.1442, allocations: 7.984 kB / 442.9 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.1443, allocations: 43.78 kB / 442.9 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.1444, allocations: 31.8 kB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.945e-05/0.1444, allocations: 11.98 kB / 443 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.192e-05/0.1445, allocations: 27.98 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.995e-05/0.1445, allocations: 23.92 kB / 443 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.598e-05/0.1446, allocations: 35.69 kB / 443 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1448, allocations: 115.9 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1448, allocations: 4 kB / 443.2 MB, free: 11.56 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1448, allocations: 3.938 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1448, allocations: 3.938 kB / 443.2 MB, free: 11.55 MB / 382.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.0005499/0.1454, allocations: 430.6 kB / 443.6 MB, free: 11.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.1454, allocations: 19.89 kB / 443.6 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.282e-05/0.1455, allocations: 38.73 kB / 443.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.1455, allocations: 8.844 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.1458, allocations: 215.8 kB / 443.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.1458, allocations: 4.359 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.014e-05/0.1458, allocations: 3.938 kB / 443.9 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1459, allocations: 53.67 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.146, allocations: 0 / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.146, allocations: 3.984 kB / 443.9 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.146, allocations: 4 kB / 443.9 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.1461, allocations: 15.94 kB / 444 MB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002699/0.1464, allocations: 189.7 kB / 444.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.1466, allocations: 54.56 kB / 444.2 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.1466, allocations: 20.84 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1467, allocations: 0 / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1469, allocations: 67.3 kB / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.236e-06/0.1469, allocations: 0 / 444.3 MB, free: 10.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002814/0.1472, allocations: 97.52 kB / 444.4 MB, free: 10.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.1472, allocations: 55.39 kB / 444.4 MB, free: 10.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.1475, allocations: 255.7 kB / 444.7 MB, free: 9.84 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1475, allocations: 29.7 kB / 444.7 MB, free: 9.805 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/0.1476, allocations: 116.1 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.1476, allocations: 15.8 kB / 444.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1477, allocations: 17.72 kB / 444.9 MB, free: 9.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1478, allocations: 326.8 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.1478, allocations: 15.98 kB / 445.2 MB, free: 9.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.6e-05/0.1479, allocations: 29.7 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.433e-05/0.148, allocations: 49.64 kB / 445.3 MB, free: 9.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.148, allocations: 4.188 kB / 445.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001552/0.1482, allocations: 93.42 kB / 445.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1482, allocations: 4 kB / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1482, allocations: 0 / 445.4 MB, free: 9.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1482, allocations: 4 kB / 445.4 MB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.511e-05/0.1483, allocations: 8 kB / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.1483, allocations: 0 / 445.4 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.1484, allocations: 11.94 kB / 445.4 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.1484, allocations: 4.031 kB / 445.4 MB, free: 9.082 MB / 382.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.0001057/0.1485, allocations: 133.8 kB / 445.5 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1485, allocations: 19.8 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.894e-05/0.1486, allocations: 13.16 kB / 445.6 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1486, allocations: 3.938 kB / 445.6 MB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1486, allocations: 4 kB / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1486, allocations: 0 / 445.6 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.1488, allocations: 197.6 kB / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1488, allocations: 0 / 445.8 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.1488, allocations: 7.938 kB / 445.8 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1488, allocations: 4 kB / 445.8 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.1488, allocations: 3.984 kB / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1488, allocations: 0 / 445.8 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1488, allocations: 3.984 kB / 445.8 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001877/0.149, allocations: 116.9 kB / 445.9 MB, free: 8.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/0.1491, allocations: 85.02 kB / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.1491, allocations: 0 / 446 MB, free: 8.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.1492, allocations: 4 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.1492, allocations: 7.984 kB / 446 MB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.767e-05/0.1492, allocations: 15.92 kB / 446 MB, free: 8.375 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001593/0.1494, allocations: 195 kB / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 0 / 446.2 MB, free: 8.184 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002109/0.1496, allocations: 20 kB / 446.2 MB, free: 8.164 MB / 382.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.00132/0.1509, allocations: 0.9587 MB / 447.2 MB, free: 7.215 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.1511, allocations: 47.91 kB / 447.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1511, allocations: 0 / 447.2 MB, free: 7.168 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.335e-05/0.1512, allocations: 16 kB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.1515, allocations: 35.45 kB / 447.3 MB, free: 7.121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.1534, allocations: 1.677 MB / 448.9 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.1537, allocations: 0.7158 MB / 449.7 MB, free: 4.609 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.038e-05/0.1537, allocations: 12.55 kB / 449.7 MB, free: 4.598 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.312e-05/0.1538, allocations: 35.42 kB / 449.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1538, allocations: 0 / 449.7 MB, free: 4.566 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01364/0.1674, allocations: 3.227 MB / 452.9 MB, free: 1.324 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003181/0.1678, allocations: 230.8 kB / 453.2 MB, free: 1.074 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/2.172, allocations: 8.062 kB / 453.2 MB, free: 1.066 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches