Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20",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.001583/0.001584, allocations: 106.1 kB / 15.98 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.001773/0.001773, allocations: 197.3 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.782/1.782, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.4057/0.4057, allocations: 43.49 MB / 313.6 MB, free: 8.266 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.001439/0.001439, allocations: 75.89 kB / 382.3 MB, free: 8.281 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1309, allocations: 57.78 MB / 440.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003489/0.1344, allocations: 1.753 MB / 441.9 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.1358, allocations: 0.7885 MB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.803e-05/0.1359, allocations: 3.938 kB / 442.7 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1362, allocations: 39.81 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1365, allocations: 43.84 kB / 442.7 MB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.1367, allocations: 83.78 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.1369, allocations: 99.69 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.137, allocations: 20.2 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.899e-05/0.1371, allocations: 43.78 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.248e-05/0.1372, allocations: 31.84 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.1373, allocations: 4 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.1374, allocations: 39.98 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.1374, allocations: 27.86 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.81e-05/0.1375, allocations: 31.75 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1377, allocations: 111.9 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.1377, allocations: 0 / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1377, allocations: 0 / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.1377, allocations: 4 kB / 443.2 MB, free: 11.26 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005348/0.1383, allocations: 414.4 kB / 443.6 MB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.1383, allocations: 15.89 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.618e-05/0.1384, allocations: 30.75 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.1384, allocations: 12.84 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.1387, allocations: 220 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1387, allocations: 384 / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1387, allocations: 11.88 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.1389, allocations: 57.67 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1389, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1389, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.139, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.096e-05/0.139, allocations: 19.98 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1394, allocations: 288.7 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.1396, allocations: 62.67 kB / 444.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.1397, allocations: 20.84 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1397, allocations: 0 / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002104/0.1399, allocations: 67.39 kB / 444.4 MB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.1399, allocations: 3.938 kB / 444.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005378/0.1405, allocations: 169.2 kB / 444.6 MB, free: 9.715 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.315e-05/0.1405, allocations: 55.41 kB / 444.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1407, allocations: 194.1 kB / 444.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.1407, allocations: 25.7 kB / 444.9 MB, free: 9.418 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.1408, allocations: 104.1 kB / 445 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.1409, allocations: 23.7 kB / 445 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.372e-05/0.1409, allocations: 21.72 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.141, allocations: 322.8 kB / 445.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.1411, allocations: 27.92 kB / 445.3 MB, free: 8.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.666e-05/0.1412, allocations: 37.7 kB / 445.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1413, allocations: 49.72 kB / 445.4 MB, free: 8.812 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1413, allocations: 3.938 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001853/0.1415, allocations: 101.6 kB / 445.5 MB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1415, allocations: 4 kB / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1415, allocations: 0 / 445.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1416, allocations: 4.031 kB / 445.5 MB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.904e-05/0.1416, allocations: 23.92 kB / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1417, allocations: 0 / 445.6 MB, free: 8.672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1417, allocations: 8.312 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.1417, allocations: 4 kB / 445.6 MB, free: 8.66 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 (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.0001061/0.1418, allocations: 121.8 kB / 445.7 MB, free: 8.531 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.1419, allocations: 15.8 kB / 445.7 MB, free: 8.516 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.1419, allocations: 12.72 kB / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.1419, allocations: 8 kB / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1419, allocations: 3.938 kB / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.142, allocations: 7.938 kB / 445.7 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.1424, allocations: 387.3 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.1424, allocations: 3.984 kB / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1424, allocations: 11.98 kB / 446.1 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.1425, allocations: 3.938 kB / 446.1 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.1425, allocations: 4 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1425, allocations: 4.266 kB / 446.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1425, allocations: 0 / 446.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.1427, allocations: 208.2 kB / 446.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.1428, allocations: 85.02 kB / 446.4 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.1428, allocations: 11.92 kB / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.803e-05/0.1429, allocations: 4 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.99e-05/0.1429, allocations: 8 kB / 446.5 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.1429, allocations: 7.984 kB / 446.5 MB, free: 7.668 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.1431, allocations: 140.1 kB / 446.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 446.6 MB, free: 7.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.1433, allocations: 31.89 kB / 446.6 MB, free: 7.5 MB / 382.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.001415/0.1448, allocations: 1.106 MB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.1449, allocations: 59.91 kB / 447.8 MB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.145, allocations: 4.062 kB / 447.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.933e-05/0.145, allocations: 31.92 kB / 447.8 MB, free: 6.309 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.1454, allocations: 35.78 kB / 447.9 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1471, allocations: 1.64 MB / 449.5 MB, free: 4.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1474, allocations: 0.7002 MB / 450.2 MB, free: 3.816 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.008e-05/0.1475, allocations: 20.86 kB / 450.2 MB, free: 3.797 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.371e-05/0.1475, allocations: 39.42 kB / 450.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1475, allocations: 0 / 450.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01636/0.1639, allocations: 3.181 MB / 453.4 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/0.1642, allocations: 238.7 kB / 453.7 MB, free: 304 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.916, allocations: 0 / 453.7 MB, free: 304 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches