Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001111/0.001111, allocations: 119.9 kB / 18.42 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001058/0.001058, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.297/1.297, allocations: 227.4 MB / 247.5 MB, free: 10.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 79.88 kB / 419 MB, free: 19.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1078, allocations: 62.44 MB / 481.5 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003008/0.1108, allocations: 1.757 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.1124, allocations: 1.021 MB / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.1124, allocations: 0 / 484.2 MB, free: 1.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.1127, allocations: 91.69 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1131, allocations: 127.5 kB / 484.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001748/0.1132, allocations: 79.66 kB / 484.5 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.1134, allocations: 123.7 kB / 484.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9e-05/0.1135, allocations: 12 kB / 484.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.577e-05/0.1136, allocations: 59.75 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.1137, allocations: 59.83 kB / 484.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.1137, allocations: 11.94 kB / 484.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1139, allocations: 59.97 kB / 484.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.074e-05/0.1139, allocations: 23.92 kB / 484.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.114, allocations: 47.61 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000198/0.1142, allocations: 143.5 kB / 485.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1142, allocations: 0 / 485.1 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1142, allocations: 4 kB / 485.1 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.1142, allocations: 0 / 485.1 MB, free: 0.9219 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.0005461/0.1148, allocations: 430.8 kB / 485.5 MB, free: 464 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1148, allocations: 16.03 kB / 485.5 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.564e-05/0.1149, allocations: 8.844 kB / 485.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.1151, allocations: 233.5 kB / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1152, allocations: 384 / 485.7 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1152, allocations: 8.125 kB / 485.8 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.1153, allocations: 57.67 kB / 485.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1154, allocations: 0 / 485.8 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1154, allocations: 4 kB / 485.8 MB, free: 88 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1154, allocations: 3.938 kB / 485.8 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.1155, allocations: 23.98 kB / 485.8 MB, free: 60 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/0.1158, allocations: 312.6 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002104/0.1161, allocations: 58.55 kB / 486.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.669e-05/0.1161, allocations: 28.91 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1162, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001342/0.1163, allocations: 79.44 kB / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1163, allocations: 0 / 486.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006875/0.117, allocations: 236.9 kB / 486.5 MB, free: 15.28 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.177e-05/0.117, allocations: 59.34 kB / 486.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001972/0.1172, allocations: 235 kB / 486.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1173, allocations: 29.7 kB / 486.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1173, allocations: 112.1 kB / 487 MB, free: 14.82 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.347e-05/0.1174, allocations: 39.53 kB / 487 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.1174, allocations: 25.7 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.316e-05/0.1175, allocations: 326.8 kB / 487.3 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.467e-05/0.1176, allocations: 31.98 kB / 487.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.044e-05/0.1177, allocations: 53.45 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1178, allocations: 81.64 kB / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1178, allocations: 0 / 487.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002083/0.118, allocations: 129.5 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.1181, allocations: 4 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.1181, allocations: 0 / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.1181, allocations: 4 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.449e-05/0.1182, allocations: 19.94 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1182, allocations: 7.922 kB / 487.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.1182, allocations: 8 kB / 487.7 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1183, allocations: 8.031 kB / 487.7 MB, free: 14.07 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 (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.196e-05/0.1184, allocations: 129.8 kB / 487.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.1184, allocations: 15.81 kB / 487.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.1185, allocations: 17.41 kB / 487.8 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1185, allocations: 4 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1185, allocations: 3.938 kB / 487.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1185, allocations: 3.984 kB / 487.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004649/0.1189, allocations: 459.9 kB / 488.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.119, allocations: 0 / 488.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.614e-05/0.119, allocations: 16.03 kB / 488.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.145e-06/0.119, allocations: 7.875 kB / 488.3 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.119, allocations: 8 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.119, allocations: 0.7031 kB / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.119, allocations: 0 / 488.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.1193, allocations: 237.2 kB / 488.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.799e-05/0.1194, allocations: 88.92 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1194, allocations: 4 kB / 488.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.342e-05/0.1195, allocations: 7.984 kB / 488.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.1195, allocations: 7.938 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1195, allocations: 7.984 kB / 488.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.1197, allocations: 176.4 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1197, allocations: 4 kB / 488.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.12, allocations: 31.98 kB / 488.9 MB, free: 12.75 MB / 366.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.001111/0.1211, allocations: 0.493 MB / 489.4 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000202/0.1213, allocations: 79.91 kB / 489.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1213, allocations: 3.938 kB / 489.5 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.318e-05/0.1214, allocations: 44.05 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1217, allocations: 37.58 kB / 489.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/0.1222, allocations: 284.6 kB / 489.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1225, allocations: 0.7196 MB / 490.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.1226, allocations: 24.69 kB / 490.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.1226, allocations: 27.36 kB / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1226, allocations: 0 / 490.6 MB, free: 11.17 MB / 366.1 MB Notification: Performance of Templates: time 0.004494/0.1271, allocations: 1.992 MB / 492.6 MB, free: 9.191 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches