Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001055/0.001055, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001064/0.001064, 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.301/1.301, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1963/0.1963, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 76.16 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1147, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002954/0.1177, allocations: 1.683 MB / 483.2 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1193, allocations: 1.005 MB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.685e-05/0.1194, allocations: 0 / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002491/0.1196, allocations: 51.75 kB / 484.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002836/0.1199, allocations: 103.6 kB / 484.3 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.1201, allocations: 71.69 kB / 484.4 MB, free: 1.582 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.1202, allocations: 107.7 kB / 484.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.1203, allocations: 8.219 kB / 484.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.1204, allocations: 39.8 kB / 484.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.329e-05/0.1205, allocations: 51.7 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.1205, allocations: 0 / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.15e-05/0.1206, allocations: 39.98 kB / 484.6 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.782e-05/0.1206, allocations: 15.92 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.035e-05/0.1207, allocations: 39.78 kB / 484.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1209, allocations: 99.64 kB / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1209, allocations: 0 / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1209, allocations: 0 / 484.8 MB, free: 1.188 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1209, allocations: 0 / 484.8 MB, free: 1.188 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004717/0.1214, allocations: 399 kB / 485.2 MB, free: 0.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1214, allocations: 8.031 kB / 485.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.1215, allocations: 8.844 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.1217, allocations: 216 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1217, allocations: 4.375 kB / 485.4 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/0.1218, allocations: 8.125 kB / 485.4 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.1219, allocations: 49.61 kB / 485.5 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.1219, allocations: 3.938 kB / 485.5 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1219, allocations: 4 kB / 485.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.1219, allocations: 0 / 485.5 MB, free: 420 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.539e-05/0.122, allocations: 19.92 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002135/0.1222, allocations: 177.7 kB / 485.7 MB, free: 172 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.1224, allocations: 54.61 kB / 485.7 MB, free: 108 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.927e-05/0.1225, allocations: 20.8 kB / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1225, allocations: 0 / 485.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.1226, allocations: 67.39 kB / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 2.816e-06/0.1227, allocations: 0 / 485.8 MB, free: 4 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002569/0.1229, allocations: 101.5 kB / 485.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.175e-05/0.123, allocations: 51.41 kB / 485.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001609/0.1231, allocations: 187.3 kB / 486.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.1232, allocations: 25.7 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.438e-05/0.1232, allocations: 100.1 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.83e-05/0.1233, allocations: 15.81 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.1233, allocations: 17.7 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.1234, allocations: 330.8 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.731e-05/0.1235, allocations: 12 kB / 486.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.11e-05/0.1235, allocations: 25.7 kB / 486.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.16e-05/0.1236, allocations: 53.89 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1236, allocations: 0 / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001415/0.1238, allocations: 81.47 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.1238, allocations: 12.03 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.189e-06/0.1238, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1239, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.1239, allocations: 8 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1239, allocations: 0 / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.124, allocations: 7.984 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-06/0.124, allocations: 8 kB / 486.8 MB, free: 14.91 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 (7): * Single equations (assignments): 7 * 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.0001041/0.1241, allocations: 117.8 kB / 486.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.175e-05/0.1242, allocations: 15.81 kB / 486.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.1242, allocations: 20.98 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1242, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1242, allocations: 0 / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.1242, allocations: 3.938 kB / 487 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001558/0.1244, allocations: 189.6 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.1244, allocations: 3.984 kB / 487.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.242e-05/0.1244, allocations: 7.938 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1244, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1244, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1245, allocations: 0 / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1245, allocations: 3.938 kB / 487.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1247, allocations: 116.9 kB / 487.3 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1247, allocations: 85.02 kB / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.928e-05/0.1247, allocations: 0 / 487.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.795e-05/0.1248, allocations: 8.125 kB / 487.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.1248, allocations: 3.984 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.1248, allocations: 4 kB / 487.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001116/0.125, allocations: 139.9 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.125, allocations: 4 kB / 487.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002091/0.1252, allocations: 20 kB / 487.5 MB, free: 14.09 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009851/0.1262, allocations: 395.5 kB / 487.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.1264, allocations: 43.92 kB / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1264, allocations: 0 / 488 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.212e-05/0.1264, allocations: 23.92 kB / 488 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.1267, allocations: 39.08 kB / 488 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/0.1271, allocations: 194 kB / 488.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.1275, allocations: 0.701 MB / 488.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.678e-05/0.1275, allocations: 16.53 kB / 488.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.229e-05/0.1275, allocations: 15.44 kB / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1275, allocations: 0 / 489 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.003882/0.1314, allocations: 1.49 MB / 490.4 MB, free: 11.28 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches