Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1",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.001208/0.001208, allocations: 104.2 kB / 17.2 MB, free: 6.266 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.001232/0.001232, allocations: 194 kB / 18.12 MB, free: 5.367 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.331/1.331, allocations: 222.9 MB / 241.8 MB, free: 15.44 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.2558/0.2558, allocations: 44.17 MB / 336.1 MB, free: 3 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.84 kB / 407.8 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1211, allocations: 60.84 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003222/0.1244, allocations: 1.757 MB / 470.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.1258, allocations: 0.8654 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.16e-05/0.1259, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1262, allocations: 51.75 kB / 471.3 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1265, allocations: 55.81 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1268, allocations: 94.08 kB / 471.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.127, allocations: 91.7 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.201e-05/0.1271, allocations: 16.16 kB / 471.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.1272, allocations: 43.78 kB / 471.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.1273, allocations: 31.84 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.796e-05/0.1273, allocations: 4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.1274, allocations: 39.98 kB / 471.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.164e-05/0.1275, allocations: 35.78 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.442e-05/0.1276, allocations: 39.69 kB / 471.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.1278, allocations: 127.8 kB / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1278, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.1278, allocations: 0 / 471.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.1278, allocations: 0 / 471.9 MB, free: 11.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005552/0.1284, allocations: 438.8 kB / 472.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1284, allocations: 12.03 kB / 472.3 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1285, allocations: 42.73 kB / 472.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.1285, allocations: 12.75 kB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002281/0.1287, allocations: 219.9 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1288, allocations: 8.359 kB / 472.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.861e-05/0.1288, allocations: 7.938 kB / 472.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.129, allocations: 53.67 kB / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.129, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.129, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.129, allocations: 0 / 472.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.429e-05/0.1291, allocations: 23.98 kB / 472.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000361/0.1295, allocations: 288.9 kB / 473 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/0.1296, allocations: 58.61 kB / 473 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.1297, allocations: 24.84 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.1298, allocations: 8 kB / 473.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002043/0.13, allocations: 63.39 kB / 473.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.13, allocations: 3.938 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00061/0.1306, allocations: 188.9 kB / 473.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.1306, allocations: 51.41 kB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1309, allocations: 266.9 kB / 473.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.1309, allocations: 33.7 kB / 473.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.131, allocations: 112.1 kB / 473.8 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.1311, allocations: 19.72 kB / 473.8 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.624e-05/0.1311, allocations: 29.64 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1313, allocations: 326.8 kB / 474.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.1313, allocations: 19.98 kB / 474.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.621e-05/0.1314, allocations: 33.66 kB / 474.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000135/0.1316, allocations: 65.7 kB / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.1316, allocations: 0 / 474.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002041/0.1318, allocations: 109.4 kB / 474.4 MB, free: 8.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.1318, allocations: 4 kB / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1318, allocations: 0 / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1318, allocations: 0 / 474.4 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000109/0.1319, allocations: 16 kB / 474.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.132, allocations: 4.312 kB / 474.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.677e-05/0.132, allocations: 19.89 kB / 474.4 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.132, allocations: 4 kB / 474.4 MB, free: 8.723 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 (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.0001167/0.1322, allocations: 133.8 kB / 474.5 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.14e-05/0.1322, allocations: 19.81 kB / 474.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.1323, allocations: 17.39 kB / 474.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1323, allocations: 4 kB / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1323, allocations: 0 / 474.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1323, allocations: 3.938 kB / 474.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005087/0.1328, allocations: 403.3 kB / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1328, allocations: 0 / 475 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.942e-05/0.1329, allocations: 11.98 kB / 475 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1329, allocations: 3.938 kB / 475 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.1329, allocations: 4 kB / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1329, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1329, allocations: 0 / 475 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.1332, allocations: 212.2 kB / 475.2 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.827e-05/0.1332, allocations: 84.92 kB / 475.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.983e-05/0.1333, allocations: 15.86 kB / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.1334, allocations: 0 / 475.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1334, allocations: 8 kB / 475.3 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.1334, allocations: 11.97 kB / 475.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001748/0.1336, allocations: 196.2 kB / 475.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1336, allocations: 0 / 475.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1339, allocations: 28 kB / 475.5 MB, free: 7.484 MB / 350.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.001482/0.1354, allocations: 1.102 MB / 476.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001961/0.1356, allocations: 55.91 kB / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1356, allocations: 0 / 476.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.678e-05/0.1357, allocations: 31.98 kB / 476.7 MB, free: 6.449 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.1361, allocations: 31.91 kB / 476.7 MB, free: 6.418 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002097/0.1382, allocations: 1.826 MB / 478.6 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/0.1385, allocations: 0.716 MB / 479.3 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.233e-05/0.1385, allocations: 21.17 kB / 479.3 MB, free: 3.738 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.235e-05/0.1386, allocations: 39.42 kB / 479.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1386, allocations: 0 / 479.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01439/0.153, allocations: 3.451 MB / 482.8 MB, free: 356 kB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/0.1533, allocations: 240.5 kB / 483 MB, free: 88 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.032/2.185, allocations: 0 / 483 MB, free: 88 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches