Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.00108/0.00108, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001096/0.001096, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.363/1.363, allocations: 222.9 MB / 242.3 MB, free: 15.18 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.2219/0.2219, allocations: 44.18 MB / 336.6 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.14 kB / 408.5 MB, free: 27.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1189, allocations: 60.82 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002922/0.1219, allocations: 1.723 MB / 471.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.1232, allocations: 0.8769 MB / 472 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.1233, allocations: 4 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1237, allocations: 91.67 kB / 472.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002226/0.1239, allocations: 71.72 kB / 472.1 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.1242, allocations: 118.5 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.1244, allocations: 111.7 kB / 472.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.925e-05/0.1245, allocations: 15.98 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.734e-05/0.1246, allocations: 55.77 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1247, allocations: 63.75 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.1247, allocations: 4 kB / 472.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1249, allocations: 67.91 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.592e-05/0.1249, allocations: 23.92 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.021e-05/0.125, allocations: 39.73 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1252, allocations: 131.8 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1252, allocations: 0 / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1252, allocations: 3.938 kB / 472.8 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.1252, allocations: 0 / 472.8 MB, free: 10.83 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005682/0.1258, allocations: 429.9 kB / 473.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1259, allocations: 8.031 kB / 473.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.565e-05/0.1259, allocations: 38.73 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.126, allocations: 20.75 kB / 473.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.1262, allocations: 219.9 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1262, allocations: 4.375 kB / 473.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.407e-05/0.1262, allocations: 11.84 kB / 473.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1264, allocations: 57.67 kB / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1264, allocations: 0 / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.1264, allocations: 0 / 473.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1264, allocations: 4 kB / 473.5 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.93e-05/0.1265, allocations: 19.98 kB / 473.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.1269, allocations: 304.8 kB / 473.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1272, allocations: 58.55 kB / 473.9 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.135e-05/0.1272, allocations: 24.97 kB / 473.9 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.1273, allocations: 4.062 kB / 473.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.1275, allocations: 79.31 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.1275, allocations: 0 / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007468/0.1282, allocations: 237 kB / 474.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1283, allocations: 59.34 kB / 474.3 MB, free: 9.094 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.1285, allocations: 230.5 kB / 474.5 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1285, allocations: 25.7 kB / 474.5 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/0.1286, allocations: 116.1 kB / 474.7 MB, free: 8.707 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/0.1286, allocations: 31.55 kB / 474.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.1287, allocations: 29.7 kB / 474.7 MB, free: 8.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1288, allocations: 322.8 kB / 475 MB, free: 8.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.493e-05/0.1289, allocations: 35.92 kB / 475.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.825e-05/0.129, allocations: 41.7 kB / 475.1 MB, free: 8.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.1291, allocations: 85.64 kB / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1291, allocations: 0 / 475.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002313/0.1294, allocations: 125.4 kB / 475.3 MB, free: 8.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1294, allocations: 8 kB / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1294, allocations: 0 / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1294, allocations: 0 / 475.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.34e-05/0.1295, allocations: 27.92 kB / 475.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1295, allocations: 4 kB / 475.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.995e-05/0.1296, allocations: 4 kB / 475.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1296, allocations: 11.97 kB / 475.4 MB, free: 7.961 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 (13): * Single equations (assignments): 13 * 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.0001075/0.1297, allocations: 130.9 kB / 475.5 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.1297, allocations: 19.75 kB / 475.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.241e-05/0.1298, allocations: 33.31 kB / 475.6 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1298, allocations: 3.938 kB / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1298, allocations: 0 / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1298, allocations: 0 / 475.6 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.1303, allocations: 444.1 kB / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.1303, allocations: 0 / 476 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.695e-05/0.1304, allocations: 19.92 kB / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1304, allocations: 0 / 476 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.1304, allocations: 8 kB / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1304, allocations: 0 / 476 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1304, allocations: 4 kB / 476 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.1307, allocations: 237 kB / 476.3 MB, free: 6.988 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.645e-05/0.1308, allocations: 88.92 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.1308, allocations: 3.938 kB / 476.3 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.811e-05/0.1309, allocations: 8 kB / 476.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.1309, allocations: 7.984 kB / 476.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.1309, allocations: 4 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1311, allocations: 179.2 kB / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1311, allocations: 0 / 476.5 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002717/0.1314, allocations: 28 kB / 476.6 MB, free: 6.656 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001552/0.1329, allocations: 1.174 MB / 477.7 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.1331, allocations: 87.91 kB / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1332, allocations: 0 / 477.8 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.558e-05/0.1332, allocations: 39.92 kB / 477.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/0.1336, allocations: 32.31 kB / 477.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.1355, allocations: 1.822 MB / 479.7 MB, free: 3.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.1357, allocations: 0.7116 MB / 480.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.441e-05/0.1358, allocations: 16.64 kB / 480.4 MB, free: 2.832 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.944e-05/0.1359, allocations: 39.42 kB / 480.5 MB, free: 2.793 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1359, allocations: 8 kB / 480.5 MB, free: 2.785 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02112/0.157, allocations: 3.77 MB / 484.3 MB, free: 15.1 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/7.66, allocations: 16.38 kB / 484.3 MB, free: 15.09 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches