Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37",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.001235/0.001235, allocations: 107.7 kB / 17.21 MB, free: 6.27 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.001292/0.001292, allocations: 194 kB / 18.12 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 241.8 MB, free: 13.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 44.17 MB / 336.1 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.00154, allocations: 60.56 kB / 407.8 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1317, allocations: 60.82 MB / 468.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003737/0.1355, allocations: 1.725 MB / 470.4 MB, free: 13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1372, allocations: 0.8381 MB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.963e-05/0.1373, allocations: 3.938 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.1378, allocations: 59.86 kB / 471.3 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.1381, allocations: 59.75 kB / 471.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1384, allocations: 95.81 kB / 471.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001871/0.1386, allocations: 91.64 kB / 471.5 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.335e-05/0.1387, allocations: 8 kB / 471.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1388, allocations: 47.77 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.1389, allocations: 39.84 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1389, allocations: 0 / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.139, allocations: 23.98 kB / 471.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.351e-05/0.1391, allocations: 23.91 kB / 471.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/0.1392, allocations: 27.75 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.1394, allocations: 99.92 kB / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.1394, allocations: 0 / 471.8 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1394, allocations: 8 kB / 471.8 MB, free: 11.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.937e-06/0.1394, allocations: 0 / 471.8 MB, free: 11.58 MB / 350.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.0005688/0.14, allocations: 395.1 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.14, allocations: 12.03 kB / 472.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.1401, allocations: 34.75 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.1401, allocations: 8.844 kB / 472.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.1405, allocations: 204.1 kB / 472.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.1405, allocations: 4.312 kB / 472.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1406, allocations: 11.88 kB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1407, allocations: 53.67 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.1408, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1408, allocations: 0 / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1408, allocations: 3.984 kB / 472.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.141, allocations: 15.98 kB / 472.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/0.1412, allocations: 177.6 kB / 472.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001745/0.1414, allocations: 62.5 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.1414, allocations: 20.84 kB / 472.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.001e-05/0.1415, allocations: 4 kB / 472.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.1417, allocations: 67.39 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1417, allocations: 0 / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005109/0.1422, allocations: 89.58 kB / 472.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.319e-05/0.1423, allocations: 63.34 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.1425, allocations: 186.1 kB / 473.2 MB, free: 9.996 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.1426, allocations: 29.7 kB / 473.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.621e-05/0.1426, allocations: 100.1 kB / 473.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.916e-05/0.1427, allocations: 15.8 kB / 473.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.1427, allocations: 17.72 kB / 473.3 MB, free: 9.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1428, allocations: 322.8 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.558e-05/0.1429, allocations: 16.23 kB / 473.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.613e-05/0.143, allocations: 29.72 kB / 473.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.1431, allocations: 53.64 kB / 473.7 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.1431, allocations: 3.938 kB / 473.7 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001677/0.1433, allocations: 77.53 kB / 473.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1433, allocations: 8 kB / 473.8 MB, free: 9.293 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1433, allocations: 3.984 kB / 473.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.1433, allocations: 4.031 kB / 473.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.1434, allocations: 8 kB / 473.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1434, allocations: 7.938 kB / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.042e-05/0.1435, allocations: 0 / 473.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1435, allocations: 4 kB / 473.8 MB, free: 9.266 MB / 350.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.863e-05/0.1436, allocations: 133 kB / 474 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.1436, allocations: 11.81 kB / 474 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.491e-05/0.1437, allocations: 12.3 kB / 474 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1437, allocations: 3.938 kB / 474 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1437, allocations: 4 kB / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1437, allocations: 0 / 474 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1439, allocations: 189.5 kB / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1439, allocations: 0 / 474.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.1439, allocations: 4 kB / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1439, allocations: 0 / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1439, allocations: 0 / 474.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1439, allocations: 4 kB / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1439, allocations: 0 / 474.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.1441, allocations: 121 kB / 474.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.922e-05/0.1442, allocations: 85 kB / 474.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1442, allocations: 4 kB / 474.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.93e-05/0.1443, allocations: 4 kB / 474.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.1443, allocations: 4 kB / 474.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1443, allocations: 3.984 kB / 474.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001114/0.1444, allocations: 139.2 kB / 474.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1445, allocations: 0 / 474.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002236/0.1447, allocations: 20 kB / 474.6 MB, free: 8.441 MB / 350.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.001458/0.1461, allocations: 0.9586 MB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001792/0.1463, allocations: 39.97 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1464, allocations: 0 / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.28e-05/0.1464, allocations: 20.06 kB / 475.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002925/0.1467, allocations: 35.61 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.1485, allocations: 1.49 MB / 477.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.1488, allocations: 0.7004 MB / 477.8 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.559e-05/0.1489, allocations: 12.55 kB / 477.8 MB, free: 5.199 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.189e-05/0.149, allocations: 31.42 kB / 477.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of SimCode: time 3.516e-06/0.149, allocations: 0 / 477.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0147/0.1637, allocations: 2.826 MB / 480.7 MB, free: 2.441 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.164, allocations: 239.2 kB / 480.9 MB, free: 2.184 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.876/2.04, allocations: 0 / 480.9 MB, free: 2.184 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37_fmu --startTime=0 --stopTime=3.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test37.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches