Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65",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.001496/0.001496, allocations: 107.3 kB / 15.98 MB, free: 6.34 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.001775/0.001775, allocations: 191.5 kB / 16.91 MB, free: 6.18 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.511/1.511, allocations: 205.1 MB / 222.8 MB, free: 4.711 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.4081/0.4081, allocations: 43.5 MB / 313.6 MB, free: 8.566 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.001453/0.001453, allocations: 67.91 kB / 382.3 MB, free: 8.512 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1371, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003133/0.1402, allocations: 1.717 MB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001268/0.1415, allocations: 0.769 MB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.029e-05/0.1416, allocations: 3.938 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.142, allocations: 83.81 kB / 442.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002324/0.1422, allocations: 67.8 kB / 442.7 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1425, allocations: 71.84 kB / 442.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1427, allocations: 99.69 kB / 442.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.412e-05/0.1427, allocations: 11.98 kB / 442.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.154e-05/0.1428, allocations: 51.7 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.143, allocations: 59.81 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.143, allocations: 4 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.268e-05/0.1431, allocations: 32 kB / 443.1 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.1431, allocations: 19.92 kB / 443.1 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.711e-05/0.1432, allocations: 35.73 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.1434, allocations: 103.9 kB / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1434, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1434, allocations: 0 / 443.2 MB, free: 11.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.1435, allocations: 0 / 443.2 MB, free: 11.48 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.0005809/0.144, allocations: 414.4 kB / 443.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.1441, allocations: 19.89 kB / 443.7 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1441, allocations: 30.75 kB / 443.7 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.1442, allocations: 12.75 kB / 443.7 MB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.1444, allocations: 212.8 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1444, allocations: 384 / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.1445, allocations: 7.938 kB / 443.9 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.1446, allocations: 53.55 kB / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.557e-06/0.1446, allocations: 0 / 444 MB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1446, allocations: 3.984 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1447, allocations: 8 kB / 444 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.752e-05/0.1447, allocations: 15.98 kB / 444 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001997/0.1449, allocations: 177.7 kB / 444.2 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/0.1451, allocations: 54.56 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.369e-05/0.1452, allocations: 20.84 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.062e-05/0.1452, allocations: 4 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.1454, allocations: 71.33 kB / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.513e-06/0.1454, allocations: 0 / 444.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002682/0.1457, allocations: 89.48 kB / 444.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.1458, allocations: 63.39 kB / 444.5 MB, free: 10.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.146, allocations: 210.4 kB / 444.7 MB, free: 9.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.146, allocations: 25.7 kB / 444.7 MB, free: 9.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.146, allocations: 108.1 kB / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.1461, allocations: 15.78 kB / 444.8 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.1461, allocations: 17.72 kB / 444.8 MB, free: 9.664 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1462, allocations: 322.8 kB / 445.1 MB, free: 9.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.1463, allocations: 19.92 kB / 445.2 MB, free: 9.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.754e-05/0.1464, allocations: 33.7 kB / 445.2 MB, free: 9.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.1465, allocations: 41.72 kB / 445.2 MB, free: 9.234 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.1465, allocations: 3.938 kB / 445.2 MB, free: 9.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001435/0.1466, allocations: 89.67 kB / 445.3 MB, free: 9.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1466, allocations: 4 kB / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1467, allocations: 64 / 445.3 MB, free: 9.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1467, allocations: 4 kB / 445.3 MB, free: 9.129 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.353e-05/0.1467, allocations: 12 kB / 445.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.1468, allocations: 0 / 445.3 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.372e-05/0.1468, allocations: 3.984 kB / 445.4 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1468, allocations: 8.031 kB / 445.4 MB, free: 9.105 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 9.12e-05/0.1469, allocations: 133.7 kB / 445.5 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1469, allocations: 11.81 kB / 445.5 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/0.147, allocations: 16.98 kB / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.147, allocations: 0 / 445.5 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.147, allocations: 4 kB / 445.5 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.147, allocations: 3.938 kB / 445.5 MB, free: 8.922 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001242/0.1471, allocations: 193.5 kB / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1472, allocations: 0 / 445.7 MB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.983e-05/0.1472, allocations: 4 kB / 445.7 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1472, allocations: 4 kB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.1472, allocations: 0 / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1472, allocations: 0 / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1472, allocations: 0 / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.1474, allocations: 113 kB / 445.8 MB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.929e-05/0.1474, allocations: 81.02 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.1475, allocations: 7.938 kB / 445.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.759e-05/0.1475, allocations: 7.984 kB / 445.9 MB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.754e-05/0.1475, allocations: 4 kB / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.131e-05/0.1476, allocations: 0 / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.1477, allocations: 156.2 kB / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1477, allocations: 0 / 446.1 MB, free: 8.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000211/0.1479, allocations: 27.89 kB / 446.1 MB, free: 8.25 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.001265/0.1492, allocations: 0.9554 MB / 447.1 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001577/0.1493, allocations: 47.86 kB / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1494, allocations: 0 / 447.1 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.974e-05/0.1494, allocations: 16 kB / 447.1 MB, free: 7.242 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.1497, allocations: 39.7 kB / 447.2 MB, free: 7.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001501/0.1512, allocations: 1.546 MB / 448.7 MB, free: 5.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.1516, allocations: 0.7041 MB / 449.4 MB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.617e-05/0.1516, allocations: 16.48 kB / 449.4 MB, free: 4.828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.1517, allocations: 39.36 kB / 449.5 MB, free: 4.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1517, allocations: 3.938 kB / 449.5 MB, free: 4.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01351/0.1652, allocations: 2.997 MB / 452.5 MB, free: 1.77 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002191/0.1655, allocations: 230.8 kB / 452.7 MB, free: 1.52 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.937/2.102, allocations: 3.938 kB / 452.7 MB, free: 1.516 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches