Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009166/0.0009166, allocations: 95.84 kB / 17.35 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 211.4 kB / 18.29 MB, free: 5.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.414/1.414, allocations: 227.7 MB / 246.8 MB, free: 11.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.206/0.206, allocations: 46.19 MB / 345.2 MB, free: 11.37 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002724/0.0002723, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.114, allocations: 63.56 MB / 483.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002162/0.1162, allocations: 1.361 MB / 484.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00106/0.1173, allocations: 0.5301 MB / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.912e-05/0.1174, allocations: 0 / 485 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.1178, allocations: 95.8 kB / 485.1 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1181, allocations: 95.7 kB / 485.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002912/0.1184, allocations: 83.83 kB / 485.2 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001842/0.1186, allocations: 95.75 kB / 485.3 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.1188, allocations: 19.98 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.36e-05/0.1189, allocations: 31.91 kB / 485.4 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.119, allocations: 59.75 kB / 485.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.386e-05/0.119, allocations: 4 kB / 485.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1191, allocations: 43.98 kB / 485.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.1192, allocations: 23.91 kB / 485.5 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.1193, allocations: 65.27 kB / 485.6 MB, free: 1.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.1195, allocations: 123.9 kB / 485.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1195, allocations: 4 kB / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1195, allocations: 0 / 485.7 MB, free: 1.496 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1195, allocations: 0 / 485.7 MB, free: 1.496 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006058/0.1202, allocations: 418.9 kB / 486.1 MB, free: 1.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.1202, allocations: 8.031 kB / 486.1 MB, free: 1.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.811e-05/0.1203, allocations: 12.75 kB / 486.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.1205, allocations: 208.5 kB / 486.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.1205, allocations: 8.375 kB / 486.4 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.035e-05/0.1206, allocations: 4.375 kB / 486.4 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.1208, allocations: 81.72 kB / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.1208, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.1208, allocations: 0 / 486.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1208, allocations: 4 kB / 486.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001375/0.121, allocations: 39.97 kB / 486.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005091/0.1215, allocations: 344.5 kB / 486.8 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000196/0.1217, allocations: 62.56 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.746e-05/0.1218, allocations: 28.84 kB / 486.9 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1218, allocations: 4.141 kB / 486.9 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1219, allocations: 34.56 kB / 486.9 MB, free: 104 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.1219, allocations: 0 / 486.9 MB, free: 104 kB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001181/0.123, allocations: 341.2 kB / 487.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1231, allocations: 59.41 kB / 487.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000247/0.1234, allocations: 235.5 kB / 487.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.014e-05/0.1234, allocations: 25.7 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.111e-05/0.1235, allocations: 108.1 kB / 487.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.729e-05/0.1235, allocations: 47.34 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.1235, allocations: 17.72 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1237, allocations: 326.8 kB / 488.1 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.1238, allocations: 43.98 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.542e-05/0.1239, allocations: 39.97 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1241, allocations: 108 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1241, allocations: 0 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002729/0.1244, allocations: 145.4 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1244, allocations: 6.031 kB / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-06/0.1244, allocations: 0 / 488.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1245, allocations: 7.938 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.1246, allocations: 27.98 kB / 488.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.1246, allocations: 4 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.665e-05/0.1247, allocations: 11.98 kB / 488.5 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1247, allocations: 4 kB / 488.5 MB, free: 14.51 MB / 366.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 (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 9.987e-05/0.1248, allocations: 141.7 kB / 488.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.28e-05/0.1248, allocations: 19.81 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003576/0.1252, allocations: 171.2 kB / 488.8 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.1252, allocations: 11.88 kB / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1252, allocations: 0 / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-06/0.1252, allocations: 0 / 488.8 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/0.1259, allocations: 487.1 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.1259, allocations: 3.938 kB / 489.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.999e-05/0.126, allocations: 31.92 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.126, allocations: 0 / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.126, allocations: 8 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.126, allocations: 0 / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.126, allocations: 4.031 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/0.1264, allocations: 255.7 kB / 489.6 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.527e-05/0.1265, allocations: 89.02 kB / 489.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1265, allocations: 4 kB / 489.7 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.1266, allocations: 11.92 kB / 489.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1266, allocations: 12 kB / 489.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.1267, allocations: 7.984 kB / 489.7 MB, free: 13.17 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001595/0.1268, allocations: 177.2 kB / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1268, allocations: 0 / 489.9 MB, free: 13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1271, allocations: 31.98 kB / 489.9 MB, free: 12.97 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001155/0.1283, allocations: 438.9 kB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002814/0.1286, allocations: 111.5 kB / 490.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.1286, allocations: 4 kB / 490.4 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.1287, allocations: 55.91 kB / 490.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000357/0.1291, allocations: 19.94 kB / 490.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006792/0.1298, allocations: 363 kB / 490.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.1302, allocations: 0.72 MB / 491.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.722e-05/0.1303, allocations: 20.53 kB / 491.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.178e-05/0.1303, allocations: 15.44 kB / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1304, allocations: 0 / 491.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of Templates: time 0.004586/0.135, allocations: 1.468 MB / 493.1 MB, free: 9.883 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches