Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.0008098, allocations: 92.17 kB / 17.35 MB, free: 6.344 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.0008042/0.0008042, allocations: 171.2 kB / 18.25 MB, free: 5.504 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.333/1.333, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.189/0.189, allocations: 44.26 MB / 337.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003334/0.0003334, allocations: 9.031 kB / 410.3 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 61.93 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001762/0.1212, allocations: 1.274 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.122, allocations: 403.4 kB / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.633e-05/0.122, allocations: 0 / 473.9 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.1222, allocations: 19.92 kB / 473.9 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.1224, allocations: 27.91 kB / 474 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1227, allocations: 95.81 kB / 474.1 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.1228, allocations: 55.78 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1229, allocations: 16 kB / 474.1 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.812e-05/0.123, allocations: 19.91 kB / 474.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.495e-05/0.1231, allocations: 15.88 kB / 474.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1231, allocations: 4 kB / 474.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.185e-05/0.1232, allocations: 27.98 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.1232, allocations: 7.938 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1233, allocations: 49.55 kB / 474.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001483/0.1234, allocations: 67.8 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.83e-06/0.1235, allocations: 4 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1235, allocations: 4 kB / 474.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1235, allocations: 7.938 kB / 474.3 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004933/0.124, allocations: 375.4 kB / 474.7 MB, free: 10.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.124, allocations: 8.031 kB / 474.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.628e-05/0.1241, allocations: 8.844 kB / 474.7 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.1243, allocations: 186.6 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.1243, allocations: 4.375 kB / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.1243, allocations: 384 / 474.9 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1245, allocations: 57.81 kB / 475 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1245, allocations: 7.891 kB / 475 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.1245, allocations: 4 kB / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1245, allocations: 0 / 475 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.972e-05/0.1246, allocations: 31.91 kB / 475 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.125, allocations: 284.9 kB / 475.3 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1252, allocations: 42.56 kB / 475.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.632e-05/0.1253, allocations: 24.94 kB / 475.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.1253, allocations: 3.938 kB / 475.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1254, allocations: 30.56 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.1254, allocations: 4 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005557/0.1259, allocations: 177.2 kB / 475.6 MB, free: 9.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.126, allocations: 51.41 kB / 475.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001646/0.1262, allocations: 149.8 kB / 475.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.1262, allocations: 25.7 kB / 475.8 MB, free: 9.59 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1262, allocations: 96.12 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.085e-05/0.1263, allocations: 11.81 kB / 475.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.561e-05/0.1263, allocations: 13.72 kB / 475.9 MB, free: 9.461 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.1264, allocations: 322.8 kB / 476.2 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.804e-05/0.1265, allocations: 27.98 kB / 476.2 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.1266, allocations: 27.92 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001447/0.1267, allocations: 60.81 kB / 476.3 MB, free: 9.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1267, allocations: 4 kB / 476.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001824/0.1269, allocations: 93.52 kB / 476.4 MB, free: 8.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.1269, allocations: 8 kB / 476.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.1269, allocations: 0 / 476.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.779e-06/0.127, allocations: 0 / 476.4 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.457e-05/0.127, allocations: 19.98 kB / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.127, allocations: 0 / 476.5 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.1271, allocations: 4 kB / 476.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.1271, allocations: 11.92 kB / 476.5 MB, free: 8.875 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.678e-05/0.1272, allocations: 122.3 kB / 476.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.1272, allocations: 7.906 kB / 476.6 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002362/0.1275, allocations: 109.9 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1275, allocations: 4 kB / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1275, allocations: 0 / 476.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1275, allocations: 3.938 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004032/0.1279, allocations: 358.5 kB / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1279, allocations: 0 / 477.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.128, allocations: 15.98 kB / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.128, allocations: 384 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.465e-06/0.128, allocations: 0 / 477.1 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.128, allocations: 11.88 kB / 477.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.128, allocations: 0 / 477.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1283, allocations: 191.4 kB / 477.3 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.334e-05/0.1283, allocations: 93 kB / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1284, allocations: 0 / 477.4 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1284, allocations: 7.938 kB / 477.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.1285, allocations: 7.984 kB / 477.4 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1285, allocations: 4 kB / 477.4 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.734e-05/0.1286, allocations: 121.3 kB / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1286, allocations: 0 / 477.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.1288, allocations: 15.91 kB / 477.5 MB, free: 7.719 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0009894/0.1298, allocations: 415.2 kB / 477.9 MB, free: 7.465 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.13, allocations: 59.91 kB / 478 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.13, allocations: 0 / 478 MB, free: 7.406 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.1301, allocations: 27.98 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1304, allocations: 15.98 kB / 478 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.1309, allocations: 212.6 kB / 478.2 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/0.1312, allocations: 0.6926 MB / 478.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.803e-05/0.1313, allocations: 15.97 kB / 478.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.1313, allocations: 11.44 kB / 479 MB, free: 6.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.296e-06/0.1313, allocations: 4 kB / 479 MB, free: 6.379 MB / 350.1 MB Notification: Performance of Templates: time 0.003418/0.1348, allocations: 1.038 MB / 480 MB, free: 5.348 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches