Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test36,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36",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.0008142/0.0008141, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 185.2 kB / 16.92 MB, free: 6.918 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.594/1.594, allocations: 205.4 MB / 223.1 MB, free: 5.531 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.3831/0.3831, allocations: 43.57 MB / 315 MB, free: 9.016 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.0005789/0.000579, allocations: 20 kB / 384.7 MB, free: 7.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1344, allocations: 58.86 MB / 443.6 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002333/0.1368, allocations: 1.41 MB / 445 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.1384, allocations: 0.7768 MB / 445.7 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001166/0.1385, allocations: 8 kB / 445.8 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.1389, allocations: 79.77 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.1392, allocations: 67.8 kB / 445.9 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003223/0.1395, allocations: 83.83 kB / 446 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002433/0.1398, allocations: 103.7 kB / 446.1 MB, free: 10.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1399, allocations: 12.22 kB / 446.1 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.14, allocations: 43.78 kB / 446.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.1402, allocations: 63.81 kB / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.1402, allocations: 0 / 446.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.1403, allocations: 43.91 kB / 446.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.842e-05/0.1404, allocations: 23.92 kB / 446.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.67e-05/0.1405, allocations: 65.38 kB / 446.3 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1407, allocations: 115.9 kB / 446.4 MB, free: 9.898 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1407, allocations: 4 kB / 446.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1407, allocations: 0 / 446.4 MB, free: 9.895 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.1408, allocations: 0 / 446.4 MB, free: 9.895 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.0005849/0.1413, allocations: 403 kB / 446.8 MB, free: 9.453 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.1414, allocations: 12.03 kB / 446.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.199e-05/0.1415, allocations: 30.75 kB / 446.9 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.46e-05/0.1415, allocations: 16.73 kB / 446.9 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.1418, allocations: 223.9 kB / 447.1 MB, free: 9.129 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1418, allocations: 4.375 kB / 447.1 MB, free: 9.125 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.1419, allocations: 3.938 kB / 447.1 MB, free: 9.121 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.142, allocations: 57.66 kB / 447.2 MB, free: 9.059 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.75e-05/0.1421, allocations: 8 kB / 447.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.1421, allocations: 0 / 447.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.1421, allocations: 0 / 447.2 MB, free: 9.051 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.813e-05/0.1422, allocations: 19.98 kB / 447.2 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.1428, allocations: 288.8 kB / 447.5 MB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/0.143, allocations: 54.67 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.125e-05/0.1431, allocations: 24.86 kB / 447.6 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.1431, allocations: 4 kB / 447.6 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000212/0.1433, allocations: 63.33 kB / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.1433, allocations: 0 / 447.6 MB, free: 8.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006861/0.144, allocations: 185.3 kB / 447.8 MB, free: 8.344 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.1441, allocations: 55.34 kB / 447.9 MB, free: 8.277 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.1444, allocations: 230.5 kB / 448.1 MB, free: 8.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.1444, allocations: 25.7 kB / 448.1 MB, free: 8.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1445, allocations: 108.1 kB / 448.2 MB, free: 7.898 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.942e-05/0.1446, allocations: 23.66 kB / 448.2 MB, free: 7.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.932e-05/0.1446, allocations: 17.7 kB / 448.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1448, allocations: 322.8 kB / 448.6 MB, free: 7.527 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.1449, allocations: 23.98 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.145, allocations: 37.72 kB / 448.6 MB, free: 7.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.1451, allocations: 61.64 kB / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1451, allocations: 0 / 448.7 MB, free: 7.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002279/0.1453, allocations: 105.5 kB / 448.8 MB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1454, allocations: 7.938 kB / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1454, allocations: 0 / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.1454, allocations: 0 / 448.8 MB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.301e-05/0.1455, allocations: 19.94 kB / 448.8 MB, free: 7.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1455, allocations: 4.031 kB / 448.8 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.1456, allocations: 19.91 kB / 448.9 MB, free: 7.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1456, allocations: 0 / 448.9 MB, free: 7.234 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.0001163/0.1457, allocations: 129.8 kB / 449 MB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.1458, allocations: 11.91 kB / 449 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.1458, allocations: 13.41 kB / 449 MB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1458, allocations: 4 kB / 449 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.1458, allocations: 0 / 449 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.1458, allocations: 3.938 kB / 449 MB, free: 7.062 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004478/0.1463, allocations: 399.3 kB / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.1463, allocations: 0 / 449.4 MB, free: 6.613 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1464, allocations: 8 kB / 449.4 MB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1464, allocations: 3.938 kB / 449.4 MB, free: 6.602 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.1464, allocations: 4 kB / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.1464, allocations: 0 / 449.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.1464, allocations: 3.938 kB / 449.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002405/0.1466, allocations: 212.2 kB / 449.6 MB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.146e-05/0.1467, allocations: 88.92 kB / 449.7 MB, free: 6.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.932e-05/0.1467, allocations: 11.94 kB / 449.7 MB, free: 6.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.1468, allocations: 3.984 kB / 449.7 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.1469, allocations: 4 kB / 449.7 MB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.1469, allocations: 4.188 kB / 449.7 MB, free: 6.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001568/0.147, allocations: 180.3 kB / 449.9 MB, free: 6.062 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1471, allocations: 3.938 kB / 449.9 MB, free: 6.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.1473, allocations: 24 kB / 449.9 MB, free: 6.035 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.001499/0.1488, allocations: 1.094 MB / 451 MB, free: 4.953 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.149, allocations: 59.92 kB / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.149, allocations: 0 / 451.1 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.897e-05/0.1491, allocations: 28.12 kB / 451.1 MB, free: 4.867 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003763/0.1495, allocations: 36.05 kB / 451.2 MB, free: 4.832 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.1515, allocations: 1.75 MB / 452.9 MB, free: 2.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.1518, allocations: 0.7082 MB / 453.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.1519, allocations: 8.891 kB / 453.6 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.152, allocations: 43.41 kB / 453.7 MB, free: 2.207 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.152, allocations: 4 kB / 453.7 MB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2301/0.3821, allocations: 3.086 MB / 456.8 MB, free: 45.59 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.3823, allocations: 231.4 kB / 457 MB, free: 45.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.294, allocations: 3.844 kB / 457 MB, free: 45.34 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test36.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches