Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001007/0.001007, allocations: 95.09 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001382/0.001382, allocations: 207 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.284/1.284, allocations: 227.7 MB / 247.5 MB, free: 9.488 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 46.18 MB / 345.9 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002377/0.0002377, allocations: 8 kB / 420.2 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09517, allocations: 63.56 MB / 483.7 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.001821/0.09703, allocations: 1.318 MB / 485 MB, free: 2.809 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.09861, allocations: 1.117 MB / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.597e-05/0.09868, allocations: 0 / 486.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.09887, allocations: 23.91 kB / 486.2 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002194/0.0991, allocations: 67.75 kB / 486.3 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002446/0.09936, allocations: 75.8 kB / 486.3 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.0995, allocations: 63.83 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.729e-05/0.0996, allocations: 19.98 kB / 486.4 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.029e-05/0.09966, allocations: 19.88 kB / 486.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.09979, allocations: 31.83 kB / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.312e-05/0.09982, allocations: 0 / 486.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.1, allocations: 99.88 kB / 486.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.195e-05/0.1001, allocations: 4 kB / 486.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.1001, allocations: 53.5 kB / 486.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.1003, allocations: 91.86 kB / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1003, allocations: 0 / 486.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.127e-05/0.1003, allocations: 4 kB / 486.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.1003, allocations: 3.938 kB / 486.7 MB, free: 1.129 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.0004571/0.1008, allocations: 391.5 kB / 487.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.1008, allocations: 12.88 kB / 487.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.1009, allocations: 8.844 kB / 487.1 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1011, allocations: 190.9 kB / 487.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-06/0.1011, allocations: 384 / 487.3 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.1011, allocations: 8.359 kB / 487.3 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1013, allocations: 75.52 kB / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1013, allocations: 0 / 487.4 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.1013, allocations: 4 kB / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1013, allocations: 0 / 487.4 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.1014, allocations: 27.92 kB / 487.4 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.1017, allocations: 288.8 kB / 487.7 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.1019, allocations: 38.56 kB / 487.7 MB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.239e-05/0.102, allocations: 16.94 kB / 487.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/0.102, allocations: 11.94 kB / 487.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.1021, allocations: 38.5 kB / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.1021, allocations: 0 / 487.8 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005524/0.1026, allocations: 157.3 kB / 488 MB, free: 15.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.1027, allocations: 77.11 kB / 488 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.1028, allocations: 141.8 kB / 488.2 MB, free: 15.47 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1028, allocations: 25.7 kB / 488.2 MB, free: 15.44 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.543e-05/0.1029, allocations: 100 kB / 488.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.1029, allocations: 15.81 kB / 488.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.103, allocations: 13.7 kB / 488.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1031, allocations: 326.8 kB / 488.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.517e-05/0.1031, allocations: 19.98 kB / 488.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.465e-05/0.1032, allocations: 33.7 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1034, allocations: 56.86 kB / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1034, allocations: 0 / 488.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002128/0.1036, allocations: 101.4 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.1036, allocations: 4 kB / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1036, allocations: 0 / 488.8 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1037, allocations: 4 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.1037, allocations: 12 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.1037, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.281e-05/0.1038, allocations: 11.98 kB / 488.9 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.1038, allocations: 4.188 kB / 488.9 MB, free: 14.72 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 (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 7.564e-05/0.1039, allocations: 113.8 kB / 489 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.262e-05/0.1039, allocations: 7.906 kB / 489 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.1042, allocations: 113.9 kB / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.1042, allocations: 3.984 kB / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1042, allocations: 0 / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.1042, allocations: 0 / 489.1 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004269/0.1046, allocations: 362.5 kB / 489.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1047, allocations: 0 / 489.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.295e-05/0.1047, allocations: 19.92 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1047, allocations: 0 / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1047, allocations: 0 / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1048, allocations: 3.938 kB / 489.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1048, allocations: 4 kB / 489.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002296/0.105, allocations: 187.4 kB / 489.7 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.1051, allocations: 89.02 kB / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.1051, allocations: 0 / 489.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.16e-05/0.1052, allocations: 19.92 kB / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.1052, allocations: 0 / 489.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.1052, allocations: 4.281 kB / 489.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.443e-05/0.1053, allocations: 113.4 kB / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1053, allocations: 0 / 489.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002759/0.1056, allocations: 39.98 kB / 489.9 MB, free: 13.55 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: 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.001021/0.1066, allocations: 0.4898 MB / 490.4 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001903/0.1068, allocations: 55.97 kB / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1068, allocations: 0 / 490.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.461e-05/0.1069, allocations: 31.97 kB / 490.5 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.1072, allocations: 15 kB / 490.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.1076, allocations: 222.3 kB / 490.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.1079, allocations: 0.6887 MB / 491.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.048e-05/0.1079, allocations: 23.42 kB / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1079, allocations: 0 / 491.5 MB, free: 12.14 MB / 366.1 MB Notification: Performance of Templates: time 0.003412/0.1113, allocations: 1.909 MB / 493.4 MB, free: 10.23 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches