Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001656/0.001657, allocations: 112.3 kB / 17.33 MB, free: 5.672 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.001962/0.001962, allocations: 193.3 kB / 18.25 MB, free: 4.977 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.431/1.431, allocations: 222.9 MB / 241.9 MB, free: 15.43 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.2483/0.2483, allocations: 44.18 MB / 336.3 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.001251, allocations: 64.75 kB / 408 MB, free: 27.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1344, allocations: 60.83 MB / 468.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.00375/0.1382, allocations: 1.965 MB / 470.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001681/0.1399, allocations: 0.8965 MB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.1401, allocations: 8 kB / 471.7 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.1405, allocations: 39.77 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.1408, allocations: 47.77 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.1412, allocations: 118.7 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002657/0.1415, allocations: 131.6 kB / 472 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001427/0.1417, allocations: 33.47 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001383/0.1418, allocations: 67.64 kB / 472.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001036/0.1419, allocations: 43.72 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.142, allocations: 8 kB / 472.2 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.1421, allocations: 47.98 kB / 472.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.1422, allocations: 23.91 kB / 472.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.89e-05/0.1422, allocations: 47.67 kB / 472.3 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.1425, allocations: 155.7 kB / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1426, allocations: 0 / 472.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1426, allocations: 4 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.1426, allocations: 0 / 472.4 MB, free: 10.97 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007254/0.1433, allocations: 472.5 kB / 472.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.1434, allocations: 12.03 kB / 472.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.679e-05/0.1435, allocations: 34.75 kB / 473 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.036e-05/0.1435, allocations: 16.75 kB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1438, allocations: 228.4 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.1439, allocations: 4.375 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.1439, allocations: 15.94 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002626/0.1442, allocations: 103.3 kB / 473.3 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.1442, allocations: 4 kB / 473.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.1442, allocations: 4 kB / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1442, allocations: 0 / 473.3 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.1444, allocations: 51.91 kB / 473.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007057/0.1451, allocations: 0.5125 MB / 473.9 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003596/0.1455, allocations: 86.66 kB / 474 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.1456, allocations: 44.83 kB / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.1456, allocations: 0 / 474 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.1459, allocations: 79.31 kB / 474.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 2.394e-06/0.1459, allocations: 4 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004396/0.1464, allocations: 153.3 kB / 474.2 MB, free: 8.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.151e-05/0.1464, allocations: 51.41 kB / 474.3 MB, free: 8.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002108/0.1467, allocations: 187.5 kB / 474.5 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.522e-05/0.1467, allocations: 29.7 kB / 474.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.1468, allocations: 116 kB / 474.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.1468, allocations: 27.61 kB / 474.7 MB, free: 8.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.028e-05/0.1469, allocations: 25.84 kB / 474.7 MB, free: 8.504 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1471, allocations: 330.8 kB / 475 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.667e-05/0.1472, allocations: 31.98 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.1473, allocations: 60.28 kB / 475.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.1475, allocations: 104.1 kB / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1475, allocations: 0 / 475.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002984/0.1478, allocations: 137.3 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1479, allocations: 4 kB / 475.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1479, allocations: 4 kB / 475.3 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.1479, allocations: 8.062 kB / 475.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.148, allocations: 23.98 kB / 475.4 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.148, allocations: 3.984 kB / 475.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.455e-05/0.1481, allocations: 15.92 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.299e-05/0.1481, allocations: 8 kB / 475.4 MB, free: 7.742 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001055/0.1482, allocations: 121.8 kB / 475.5 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.1483, allocations: 15.81 kB / 475.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.616e-05/0.1483, allocations: 17.86 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1483, allocations: 11.94 kB / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1484, allocations: 0 / 475.6 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1484, allocations: 7.984 kB / 475.6 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1486, allocations: 209.6 kB / 475.8 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.1486, allocations: 3.938 kB / 475.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.682e-05/0.1487, allocations: 15.98 kB / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1487, allocations: 0 / 475.8 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.211e-05/0.1487, allocations: 3.938 kB / 475.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.1487, allocations: 3.938 kB / 475.8 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1487, allocations: 3.938 kB / 475.8 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003697/0.1491, allocations: 180.8 kB / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.1491, allocations: 96.88 kB / 476.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/0.1492, allocations: 8 kB / 476.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1492, allocations: 3.938 kB / 476.1 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.1493, allocations: 7.984 kB / 476.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.1493, allocations: 8 kB / 476.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001224/0.1494, allocations: 145.3 kB / 476.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1495, allocations: 0 / 476.2 MB, free: 6.801 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002327/0.1497, allocations: 24 kB / 476.3 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.001505/0.1512, allocations: 1.012 MB / 477.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.1515, allocations: 83.84 kB / 477.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1515, allocations: 0 / 477.4 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.1516, allocations: 39.97 kB / 477.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.1519, allocations: 39.41 kB / 477.4 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/0.1543, allocations: 1.765 MB / 479.2 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.1546, allocations: 0.7123 MB / 479.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.738e-05/0.1547, allocations: 17.42 kB / 479.9 MB, free: 3.109 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.267e-05/0.1548, allocations: 43.42 kB / 480 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1549, allocations: 0 / 480 MB, free: 3.066 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.1721, allocations: 3.581 MB / 483.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003527/0.1725, allocations: 241.5 kB / 483.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.91/2.083, allocations: 0 / 483.8 MB, free: 15.34 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches