Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59",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.0009335/0.0009332, allocations: 96.94 kB / 16.02 MB, free: 84 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.001113/0.001113, allocations: 181.4 kB / 16.91 MB, free: 6.914 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.61/1.61, allocations: 205.4 MB / 223.1 MB, free: 5.508 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.4077/0.4077, allocations: 43.56 MB / 315 MB, free: 9.055 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.0005836/0.0005839, allocations: 23.94 kB / 384.7 MB, free: 7.785 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1304, allocations: 58.86 MB / 443.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002106/0.1325, allocations: 1.414 MB / 445 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.1348, allocations: 1.36 MB / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.526e-05/0.1349, allocations: 0 / 446.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000339/0.1353, allocations: 39.83 kB / 446.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001909/0.1355, allocations: 47.83 kB / 446.4 MB, free: 9.941 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.1357, allocations: 75.84 kB / 446.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.1359, allocations: 87.7 kB / 446.6 MB, free: 9.781 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.136, allocations: 20.22 kB / 446.6 MB, free: 9.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.791e-05/0.1361, allocations: 43.77 kB / 446.6 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.1363, allocations: 31.8 kB / 446.7 MB, free: 9.688 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.1363, allocations: 4 kB / 446.7 MB, free: 9.684 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1364, allocations: 59.95 kB / 446.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.558e-05/0.1365, allocations: 11.92 kB / 446.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.831e-05/0.1366, allocations: 57.5 kB / 446.8 MB, free: 9.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1368, allocations: 119.9 kB / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.1368, allocations: 0 / 446.9 MB, free: 9.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1368, allocations: 4 kB / 446.9 MB, free: 9.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1368, allocations: 0 / 446.9 MB, free: 9.43 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.0005361/0.1374, allocations: 403.1 kB / 447.3 MB, free: 8.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.1374, allocations: 8.031 kB / 447.3 MB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.859e-05/0.1375, allocations: 30.75 kB / 447.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.097e-05/0.1375, allocations: 8.844 kB / 447.4 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.1377, allocations: 208.1 kB / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1377, allocations: 384 / 447.6 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.1378, allocations: 11.94 kB / 447.6 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.1379, allocations: 67.33 kB / 447.6 MB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1379, allocations: 3.938 kB / 447.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1379, allocations: 0 / 447.6 MB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.138, allocations: 4 kB / 447.6 MB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.138, allocations: 19.98 kB / 447.7 MB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.1384, allocations: 276.9 kB / 447.9 MB, free: 8.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1385, allocations: 66.61 kB / 448 MB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.783e-05/0.1386, allocations: 16.86 kB / 448 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.1386, allocations: 0 / 448 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.1388, allocations: 71.38 kB / 448.1 MB, free: 8.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/0.1388, allocations: 4 kB / 448.1 MB, free: 8.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004857/0.1393, allocations: 177.2 kB / 448.3 MB, free: 7.895 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.188e-05/0.1394, allocations: 77.11 kB / 448.3 MB, free: 7.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.1395, allocations: 153.8 kB / 448.5 MB, free: 7.641 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.1395, allocations: 25.7 kB / 448.5 MB, free: 7.609 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1396, allocations: 104 kB / 448.6 MB, free: 7.504 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.1396, allocations: 19.66 kB / 448.6 MB, free: 7.484 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1397, allocations: 21.7 kB / 448.7 MB, free: 7.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1398, allocations: 326.8 kB / 449 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.1399, allocations: 23.98 kB / 449 MB, free: 7.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.617e-05/0.1399, allocations: 46.5 kB / 449 MB, free: 7.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.1401, allocations: 57.7 kB / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1401, allocations: 0 / 449.1 MB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000178/0.1402, allocations: 101.5 kB / 449.2 MB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1403, allocations: 8 kB / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.1403, allocations: 0 / 449.2 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1403, allocations: 3.984 kB / 449.2 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.853e-05/0.1404, allocations: 15.98 kB / 449.2 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1404, allocations: 4 kB / 449.2 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1405, allocations: 7.938 kB / 449.2 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1405, allocations: 4 kB / 449.2 MB, free: 6.84 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.0001012/0.1406, allocations: 125.8 kB / 449.4 MB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.812e-05/0.1406, allocations: 11.94 kB / 449.4 MB, free: 6.695 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.1407, allocations: 12.72 kB / 449.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1407, allocations: 0 / 449.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1407, allocations: 0 / 449.4 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.1407, allocations: 3.938 kB / 449.4 MB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004167/0.1411, allocations: 395.4 kB / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1411, allocations: 0 / 449.8 MB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.062e-05/0.1412, allocations: 8 kB / 449.8 MB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.1412, allocations: 11.97 kB / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.837e-06/0.1412, allocations: 0 / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.1412, allocations: 80 / 449.8 MB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1412, allocations: 7.969 kB / 449.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002034/0.1414, allocations: 200.2 kB / 450 MB, free: 5.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.1415, allocations: 85.02 kB / 450.1 MB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1415, allocations: 15.94 kB / 450.1 MB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1416, allocations: 3.984 kB / 450.1 MB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.1416, allocations: 4 kB / 450.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.586e-05/0.1416, allocations: 7.984 kB / 450.1 MB, free: 5.859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.104e-05/0.1417, allocations: 114.9 kB / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1417, allocations: 0 / 450.2 MB, free: 5.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002537/0.142, allocations: 39.89 kB / 450.3 MB, free: 5.711 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.00143/0.1434, allocations: 1.145 MB / 451.4 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001614/0.1436, allocations: 47.98 kB / 451.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1436, allocations: 0 / 451.5 MB, free: 4.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.1437, allocations: 36.08 kB / 451.5 MB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.144, allocations: 32.11 kB / 451.5 MB, free: 4.457 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.1454, allocations: 1.577 MB / 453.1 MB, free: 2.793 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1457, allocations: 0.7004 MB / 453.8 MB, free: 2.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.773e-05/0.1457, allocations: 16.88 kB / 453.8 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.336e-05/0.1458, allocations: 31.42 kB / 453.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1458, allocations: 0 / 453.9 MB, free: 2.016 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.232/0.3778, allocations: 3.057 MB / 456.9 MB, free: 45.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/0.378, allocations: 239.4 kB / 457.1 MB, free: 45.45 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.865/2.243, allocations: 0 / 457.1 MB, free: 45.45 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches