Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33",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.001603/0.001603, allocations: 108.2 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.001781/0.001781, allocations: 190.1 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.786/1.786, allocations: 205.1 MB / 222.8 MB, free: 4.734 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.3932/0.3932, allocations: 43.51 MB / 313.6 MB, free: 8.297 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.002105/0.002105, allocations: 71.91 kB / 382.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1361, allocations: 57.76 MB / 440.1 MB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002987/0.1391, allocations: 1.756 MB / 441.9 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.1403, allocations: 0.7885 MB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.039e-05/0.1403, allocations: 7.938 kB / 442.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000243/0.1406, allocations: 27.89 kB / 442.7 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1408, allocations: 47.83 kB / 442.7 MB, free: 11.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.141, allocations: 79.73 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001391/0.1411, allocations: 99.69 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.265e-05/0.1412, allocations: 16.2 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.1413, allocations: 47.78 kB / 443 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.289e-05/0.1414, allocations: 35.78 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1414, allocations: 4 kB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.815e-05/0.1415, allocations: 39.98 kB / 443 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.237e-05/0.1415, allocations: 23.92 kB / 443.1 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.953e-05/0.1416, allocations: 35.73 kB / 443.1 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.1417, allocations: 107.9 kB / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1418, allocations: 0 / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1418, allocations: 0 / 443.2 MB, free: 11.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.947e-06/0.1418, allocations: 0 / 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.0004402/0.1422, allocations: 422.9 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.1423, allocations: 15.89 kB / 443.6 MB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.1423, allocations: 30.75 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1423, allocations: 8.844 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1425, allocations: 212 kB / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.1426, allocations: 384 / 443.9 MB, free: 10.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1426, allocations: 11.88 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1427, allocations: 57.67 kB / 444 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.1428, allocations: 4 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.1428, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.337e-06/0.1428, allocations: 0 / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.829e-05/0.1429, allocations: 23.92 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002932/0.1432, allocations: 284.8 kB / 444.3 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1433, allocations: 58.67 kB / 444.3 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.371e-05/0.1434, allocations: 24.84 kB / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.1434, allocations: 0 / 444.3 MB, free: 9.969 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.1436, allocations: 71.33 kB / 444.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.253e-06/0.1436, allocations: 0 / 444.4 MB, free: 9.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004779/0.1441, allocations: 173.2 kB / 444.6 MB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.16e-05/0.1441, allocations: 51.41 kB / 444.6 MB, free: 9.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.1443, allocations: 194.1 kB / 444.8 MB, free: 9.449 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1443, allocations: 29.7 kB / 444.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.1444, allocations: 100.1 kB / 444.9 MB, free: 9.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.461e-05/0.1444, allocations: 23.7 kB / 445 MB, free: 9.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.818e-05/0.1444, allocations: 21.72 kB / 445 MB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.29e-05/0.1445, allocations: 322.8 kB / 445.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.1446, allocations: 19.98 kB / 445.3 MB, free: 8.918 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.1447, allocations: 45.64 kB / 445.4 MB, free: 8.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001051/0.1448, allocations: 57.72 kB / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1448, allocations: 0 / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001643/0.1449, allocations: 109.5 kB / 445.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.145, allocations: 4 kB / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.145, allocations: 0 / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.609e-06/0.145, allocations: 0 / 445.5 MB, free: 8.688 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.1451, allocations: 24.02 kB / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1451, allocations: 0 / 445.6 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.1451, allocations: 7.938 kB / 445.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1451, allocations: 4 kB / 445.6 MB, free: 8.652 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 8.318e-05/0.1452, allocations: 121.8 kB / 445.7 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.1e-05/0.1453, allocations: 15.81 kB / 445.7 MB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.435e-05/0.1453, allocations: 12.72 kB / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.1453, allocations: 0 / 445.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.1453, allocations: 3.938 kB / 445.7 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1453, allocations: 11.94 kB / 445.7 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.1457, allocations: 383.7 kB / 446.1 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.1457, allocations: 3.984 kB / 446.1 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.62e-05/0.1458, allocations: 19.92 kB / 446.1 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1458, allocations: 3.938 kB / 446.1 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.1458, allocations: 4 kB / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1458, allocations: 0 / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1458, allocations: 0 / 446.1 MB, free: 8.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001984/0.146, allocations: 204.3 kB / 446.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.146, allocations: 89 kB / 446.4 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.1461, allocations: 7.938 kB / 446.4 MB, free: 7.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.737e-05/0.1461, allocations: 4 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.1462, allocations: 7.984 kB / 446.4 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1462, allocations: 4 kB / 446.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.974e-05/0.1463, allocations: 148 kB / 446.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 446.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002427/0.1466, allocations: 31.89 kB / 446.6 MB, free: 7.496 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.001342/0.1479, allocations: 1.103 MB / 447.7 MB, free: 6.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1481, allocations: 63.89 kB / 447.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1481, allocations: 0 / 447.8 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.1482, allocations: 36.03 kB / 447.8 MB, free: 6.305 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.1485, allocations: 35.78 kB / 447.9 MB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.15, allocations: 1.643 MB / 449.5 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002145/0.1502, allocations: 0.7002 MB / 450.2 MB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.1503, allocations: 16.88 kB / 450.2 MB, free: 3.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.814e-05/0.1503, allocations: 35.42 kB / 450.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1503, allocations: 0 / 450.3 MB, free: 3.758 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01312/0.1635, allocations: 3.188 MB / 453.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001839/0.1637, allocations: 242.7 kB / 453.7 MB, free: 296 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.933, allocations: 0 / 453.7 MB, free: 296 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test33.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches