Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50",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.001233/0.001233, allocations: 102.8 kB / 16.27 MB, free: 6.41 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.001285/0.001285, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.716/1.716, allocations: 205.1 MB / 223.1 MB, free: 12.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2269/0.2269, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001696/0.001696, allocations: 70.55 kB / 382.8 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1246, allocations: 57.8 MB / 440.6 MB, free: 6.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.00294/0.1276, allocations: 1.689 MB / 442.3 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.1292, allocations: 1.398 MB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.052e-05/0.1293, allocations: 4 kB / 443.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003162/0.1296, allocations: 47.77 kB / 443.8 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002165/0.1299, allocations: 51.77 kB / 443.8 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.1301, allocations: 87.69 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1303, allocations: 103.7 kB / 444 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1305, allocations: 12.17 kB / 444 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.27e-05/0.1306, allocations: 43.78 kB / 444.1 MB, free: 3.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.1307, allocations: 47.83 kB / 444.1 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1307, allocations: 8 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1309, allocations: 63.97 kB / 444.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.1309, allocations: 27.84 kB / 444.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.131, allocations: 27.81 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001906/0.1312, allocations: 127.7 kB / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1312, allocations: 0 / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1312, allocations: 0 / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1312, allocations: 0 / 444.4 MB, free: 3.047 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004787/0.1317, allocations: 411 kB / 444.8 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.1317, allocations: 15.89 kB / 444.8 MB, free: 2.582 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.1318, allocations: 42.73 kB / 444.8 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.1318, allocations: 8.844 kB / 444.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.132, allocations: 220.3 kB / 445 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.132, allocations: 4 kB / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.132, allocations: 0 / 445 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.1322, allocations: 79.38 kB / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1322, allocations: 0 / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1322, allocations: 3.938 kB / 445.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1323, allocations: 4 kB / 445.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/0.1323, allocations: 27.98 kB / 445.2 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.1326, allocations: 300.6 kB / 445.5 MB, free: 1.797 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.1328, allocations: 78.66 kB / 445.5 MB, free: 1.711 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.1329, allocations: 24.84 kB / 445.6 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.497e-05/0.1329, allocations: 8 kB / 445.6 MB, free: 1.676 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.1331, allocations: 71.33 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.1331, allocations: 0 / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005224/0.1337, allocations: 189.3 kB / 445.8 MB, free: 1.402 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.827e-05/0.1337, allocations: 89.03 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1338, allocations: 151 kB / 446.1 MB, free: 1.137 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.279e-05/0.1339, allocations: 37.69 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.829e-05/0.1339, allocations: 92.14 kB / 446.2 MB, free: 1 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.746e-05/0.1339, allocations: 39.55 kB / 446.2 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.134, allocations: 25.72 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.134, allocations: 322.8 kB / 446.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.582e-05/0.1341, allocations: 23.98 kB / 446.6 MB, free: 0.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.839e-05/0.1342, allocations: 50.56 kB / 446.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.1343, allocations: 69.64 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1343, allocations: 0 / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001652/0.1345, allocations: 113.5 kB / 446.8 MB, free: 340 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.1345, allocations: 5.438 kB / 446.8 MB, free: 336 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.1345, allocations: 3.938 kB / 446.8 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1345, allocations: 7.938 kB / 446.8 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.528e-05/0.1346, allocations: 12 kB / 446.8 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.1346, allocations: 12.05 kB / 446.8 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.1347, allocations: 3.938 kB / 446.9 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.1347, allocations: 4 kB / 446.9 MB, free: 292 kB / 318.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 (11): * Single equations (assignments): 11 * 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 7.424e-05/0.1348, allocations: 125.8 kB / 447 MB, free: 156 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.203e-05/0.1348, allocations: 7.906 kB / 447 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.058e-05/0.1348, allocations: 20.64 kB / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.1348, allocations: 0 / 447 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1348, allocations: 4 kB / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1349, allocations: 0 / 447 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004562/0.1353, allocations: 415.2 kB / 447.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.1353, allocations: 3.984 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.811e-05/0.1354, allocations: 12 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1354, allocations: 0 / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1354, allocations: 4 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1354, allocations: 4 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1354, allocations: 0 / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.1357, allocations: 220.7 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.1357, allocations: 84.95 kB / 447.7 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1357, allocations: 8 kB / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.1358, allocations: 0 / 447.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.1359, allocations: 15.92 kB / 447.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1359, allocations: 4 kB / 447.8 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001012/0.136, allocations: 131.9 kB / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.136, allocations: 0 / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1363, allocations: 35.98 kB / 447.9 MB, free: 15.1 MB / 334.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 (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.001486/0.1378, allocations: 1.141 MB / 449.1 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.138, allocations: 71.91 kB / 449.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.138, allocations: 8 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.1381, allocations: 35.92 kB / 449.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1385, allocations: 38.08 kB / 449.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.1401, allocations: 1.606 MB / 450.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.1404, allocations: 0.6963 MB / 451.5 MB, free: 11.46 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.82e-05/0.1404, allocations: 24.94 kB / 451.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.832e-05/0.1405, allocations: 39.42 kB / 451.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1405, allocations: 0 / 451.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.164, allocations: 3.618 MB / 455.2 MB, free: 7.746 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.34/8.504, allocations: 23.73 kB / 455.2 MB, free: 7.723 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches