Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001426/0.001426, allocations: 119.9 kB / 18.42 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00168/0.00168, allocations: 207.5 kB / 19.36 MB, free: 3.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2/0.2, allocations: 46.09 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 81.95 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1154, allocations: 62.45 MB / 481.5 MB, free: 4.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003142/0.1186, allocations: 1.588 MB / 483.1 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001654/0.1203, allocations: 1.16 MB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/0.1203, allocations: 0 / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002207/0.1206, allocations: 23.84 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002867/0.1209, allocations: 83.62 kB / 484.3 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1211, allocations: 91.69 kB / 484.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001476/0.1213, allocations: 67.83 kB / 484.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.1214, allocations: 15.98 kB / 484.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.315e-05/0.1215, allocations: 23.86 kB / 484.5 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.1217, allocations: 35.84 kB / 484.6 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.1217, allocations: 4 kB / 484.6 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1219, allocations: 95.94 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.325e-05/0.1219, allocations: 19.91 kB / 484.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.087e-05/0.122, allocations: 23.81 kB / 484.7 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002526/0.1222, allocations: 147.6 kB / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1222, allocations: 0 / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1223, allocations: 0 / 484.8 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.1223, allocations: 0 / 484.8 MB, free: 1.168 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.0004932/0.1228, allocations: 395.2 kB / 485.2 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1228, allocations: 8.031 kB / 485.2 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.001e-05/0.1229, allocations: 4.938 kB / 485.2 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.1231, allocations: 200 kB / 485.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.1231, allocations: 4.375 kB / 485.4 MB, free: 496 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.963e-05/0.1231, allocations: 8.312 kB / 485.4 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.1233, allocations: 71.52 kB / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1233, allocations: 0 / 485.5 MB, free: 404 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1233, allocations: 4 kB / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1234, allocations: 0 / 485.5 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.849e-05/0.1234, allocations: 19.98 kB / 485.5 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.1239, allocations: 284.8 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.1241, allocations: 42.56 kB / 485.9 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.03e-05/0.1242, allocations: 12.86 kB / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1242, allocations: 0 / 485.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.1242, allocations: 30.66 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.1243, allocations: 0 / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005827/0.1248, allocations: 157.2 kB / 486.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.1249, allocations: 77.11 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1251, allocations: 144.2 kB / 486.3 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.1251, allocations: 25.7 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.26e-05/0.1252, allocations: 96.12 kB / 486.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.1252, allocations: 19.7 kB / 486.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.267e-05/0.1252, allocations: 21.72 kB / 486.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.1254, allocations: 322.8 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.1255, allocations: 23.92 kB / 486.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.198e-05/0.1255, allocations: 29.89 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.1257, allocations: 48.83 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1257, allocations: 4.031 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001813/0.1259, allocations: 77.67 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.1259, allocations: 7.984 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1259, allocations: 0 / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.1259, allocations: 4 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.117e-05/0.126, allocations: 11.94 kB / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.126, allocations: 0 / 486.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.61e-05/0.1261, allocations: 7.984 kB / 487 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.1261, allocations: 3.938 kB / 487 MB, free: 14.8 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 8.881e-05/0.1262, allocations: 117.8 kB / 487.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.62e-05/0.1262, allocations: 7.906 kB / 487.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.1264, allocations: 93.95 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.1265, allocations: 3.938 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.1265, allocations: 3.984 kB / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.1265, allocations: 0 / 487.2 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.1269, allocations: 358.3 kB / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.1269, allocations: 0 / 487.5 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.127, allocations: 19.92 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.127, allocations: 0 / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.127, allocations: 192 / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.127, allocations: 7.938 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.127, allocations: 4 kB / 487.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.1272, allocations: 183.4 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.823e-05/0.1273, allocations: 77.11 kB / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.1273, allocations: 0 / 487.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1274, allocations: 11.94 kB / 487.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.228e-05/0.1274, allocations: 7.984 kB / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1274, allocations: 0 / 487.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.383e-05/0.1275, allocations: 111.3 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1275, allocations: 0 / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000275/0.1278, allocations: 39.98 kB / 488 MB, free: 13.67 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.00109/0.1289, allocations: 492.6 kB / 488.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000189/0.1291, allocations: 47.91 kB / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1291, allocations: 0 / 488.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.1292, allocations: 23.98 kB / 488.5 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.1295, allocations: 27.48 kB / 488.6 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1299, allocations: 169.4 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1302, allocations: 0.6885 MB / 489.4 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.57e-05/0.1303, allocations: 11.98 kB / 489.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/0.1303, allocations: 19.42 kB / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1303, allocations: 0 / 489.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.004246/0.1346, allocations: 1.733 MB / 491.2 MB, free: 10.59 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches