Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001335/0.001335, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001469/0.001469, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.212/0.212, allocations: 46.12 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.75 kB / 417.6 MB, free: 19.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1146, allocations: 62.46 MB / 480.1 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.003734/0.1183, allocations: 1.715 MB / 481.8 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.1203, allocations: 1.025 MB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.1204, allocations: 0 / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.1207, allocations: 47.75 kB / 482.9 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002752/0.121, allocations: 99.53 kB / 483 MB, free: 2.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001768/0.1211, allocations: 67.69 kB / 483 MB, free: 2.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1213, allocations: 115.7 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.1214, allocations: 15.98 kB / 483.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.1215, allocations: 39.8 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.1216, allocations: 27.8 kB / 483.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1216, allocations: 7.984 kB / 483.3 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.767e-05/0.1217, allocations: 39.98 kB / 483.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.1218, allocations: 23.92 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.681e-05/0.1218, allocations: 39.67 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.122, allocations: 123.9 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.122, allocations: 4 kB / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.122, allocations: 0 / 483.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.122, allocations: 0 / 483.5 MB, free: 1.84 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.0005205/0.1226, allocations: 422.9 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.229e-05/0.1226, allocations: 8.031 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1227, allocations: 12.84 kB / 483.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.1229, allocations: 212 kB / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1229, allocations: 384 / 484.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.1229, allocations: 20.06 kB / 484.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.1231, allocations: 49.67 kB / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.1231, allocations: 0 / 484.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.1231, allocations: 11.98 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1231, allocations: 0 / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.618e-05/0.1232, allocations: 16 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.1235, allocations: 288.9 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.1237, allocations: 62.62 kB / 484.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.1238, allocations: 20.84 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.1238, allocations: 0 / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001999/0.124, allocations: 67.38 kB / 484.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.133e-06/0.124, allocations: 4 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005356/0.1246, allocations: 185 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.32e-05/0.1246, allocations: 55.34 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1248, allocations: 202.4 kB / 485.1 MB, free: 44 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.1249, allocations: 33.69 kB / 485.1 MB, free: 4 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.1249, allocations: 96.14 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.444e-05/0.125, allocations: 23.7 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.125, allocations: 29.66 kB / 485.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.1252, allocations: 330.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.1252, allocations: 27.92 kB / 485.6 MB, free: 15.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.481e-05/0.1253, allocations: 33.7 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.1254, allocations: 53.7 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1254, allocations: 0 / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001744/0.1256, allocations: 109.4 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1256, allocations: 8.031 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.1257, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1257, allocations: 0 / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.14e-05/0.1258, allocations: 15.98 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.1258, allocations: 0 / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.635e-05/0.1258, allocations: 7.938 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.1258, allocations: 4 kB / 485.8 MB, free: 15.24 MB / 366.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.0001072/0.126, allocations: 133.7 kB / 486 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.28e-05/0.126, allocations: 11.91 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.126, allocations: 21.39 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.126, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1261, allocations: 0 / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1261, allocations: 3.938 kB / 486 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004351/0.1265, allocations: 403.6 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1265, allocations: 0 / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.388e-05/0.1266, allocations: 15.98 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1266, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.1266, allocations: 7.969 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1266, allocations: 4 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1266, allocations: 0 / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.1268, allocations: 204.2 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1269, allocations: 88.92 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.1269, allocations: 7.922 kB / 486.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.127, allocations: 8 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.127, allocations: 192 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.127, allocations: 11.98 kB / 486.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1272, allocations: 164.8 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1272, allocations: 0 / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.1274, allocations: 24 kB / 486.9 MB, free: 14.04 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: 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.0009716/0.1284, allocations: 454.1 kB / 487.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.1286, allocations: 63.91 kB / 487.4 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1286, allocations: 7.938 kB / 487.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.741e-05/0.1287, allocations: 31.92 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.129, allocations: 26.58 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004109/0.1294, allocations: 246.9 kB / 487.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.1297, allocations: 0.708 MB / 488.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.912e-05/0.1298, allocations: 12.88 kB / 488.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.1298, allocations: 19.44 kB / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1298, allocations: 0 / 488.5 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004418/0.1342, allocations: 1.738 MB / 490.2 MB, free: 10.88 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches