Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001232/0.001232, allocations: 109 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001709/0.001709, allocations: 210.8 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.391/1.391, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2054/0.2054, allocations: 46.09 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 75.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2905, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002663/0.2932, allocations: 1.609 MB / 0.5332 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.2941, allocations: 0.528 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.2942, allocations: 1.375 kB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001721/0.2944, allocations: 25.34 kB / 0.5338 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.2947, allocations: 80.36 kB / 0.5339 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.295, allocations: 82.16 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.2951, allocations: 68.56 kB / 0.534 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.598e-05/0.2952, allocations: 14.88 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.881e-05/0.2953, allocations: 24.11 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.2954, allocations: 26.67 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.2954, allocations: 2.75 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.793e-05/0.2955, allocations: 32.61 kB / 0.5341 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.2955, allocations: 19.98 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.2956, allocations: 20 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2957, allocations: 88.58 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.2957, allocations: 1.375 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2958, allocations: 4 kB / 0.5342 GB, free: 11.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.2958, allocations: 0 / 0.5342 GB, free: 11.65 MB / 398.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.0004239/0.2962, allocations: 378.9 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.2962, allocations: 9.625 kB / 0.5346 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.207e-05/0.2963, allocations: 8.969 kB / 0.5346 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.2965, allocations: 193.7 kB / 0.5348 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2965, allocations: 4.312 kB / 0.5348 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.866e-05/0.2965, allocations: 11.06 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.2967, allocations: 47.44 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2967, allocations: 5.375 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2967, allocations: 0 / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2967, allocations: 1.375 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.186e-05/0.2968, allocations: 20.36 kB / 0.5349 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003133/0.2971, allocations: 272.2 kB / 0.5351 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.2973, allocations: 50.89 kB / 0.5352 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.136e-05/0.2974, allocations: 15.64 kB / 0.5352 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.2974, allocations: 5.172 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.2975, allocations: 31.75 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.2975, allocations: 3.984 kB / 0.5352 GB, free: 10.57 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005935/0.2981, allocations: 152.8 kB / 0.5354 GB, free: 10.47 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2981, allocations: 60.84 kB / 0.5354 GB, free: 10.4 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.2983, allocations: 165.8 kB / 0.5356 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.2983, allocations: 27.14 kB / 0.5356 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.905e-05/0.2984, allocations: 91.42 kB / 0.5357 GB, free: 10.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/0.2984, allocations: 18.45 kB / 0.5357 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2984, allocations: 18.22 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.2985, allocations: 321.4 kB / 0.5361 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.912e-05/0.2986, allocations: 17.58 kB / 0.5361 GB, free: 9.789 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.2987, allocations: 19.11 kB / 0.5361 GB, free: 9.781 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001909/0.2989, allocations: 52.23 kB / 0.5361 GB, free: 9.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.2989, allocations: 0 / 0.5361 GB, free: 9.75 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000181/0.2991, allocations: 76.45 kB / 0.5362 GB, free: 9.699 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.2991, allocations: 5.625 kB / 0.5362 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.2991, allocations: 4 kB / 0.5362 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.2991, allocations: 1.125 kB / 0.5362 GB, free: 9.695 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.2992, allocations: 17.73 kB / 0.5362 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.2992, allocations: 0 / 0.5362 GB, free: 9.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.2992, allocations: 7.5 kB / 0.5362 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.2992, allocations: 1.219 kB / 0.5362 GB, free: 9.684 MB / 398.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.691e-05/0.2993, allocations: 127.3 kB / 0.5364 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.454e-05/0.2994, allocations: 8.531 kB / 0.5364 GB, free: 9.551 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002337/0.2996, allocations: 92.97 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2996, allocations: 1.125 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.2996, allocations: 1.156 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2997, allocations: 3.938 kB / 0.5365 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.3001, allocations: 348 kB / 0.5368 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.3001, allocations: 4.062 kB / 0.5368 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.958e-05/0.3002, allocations: 13.14 kB / 0.5368 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3002, allocations: 5.219 kB / 0.5368 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.3002, allocations: 5.062 kB / 0.5368 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3002, allocations: 0 / 0.5368 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3002, allocations: 1.062 kB / 0.5368 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.3004, allocations: 180 kB / 0.537 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.3005, allocations: 78.61 kB / 0.5371 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3005, allocations: 5.281 kB / 0.5371 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.413e-05/0.3006, allocations: 10.62 kB / 0.5371 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.576e-05/0.3006, allocations: 9.422 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3006, allocations: 2.531 kB / 0.5371 GB, free: 8.836 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.777e-05/0.3007, allocations: 127.5 kB / 0.5372 GB, free: 8.742 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3008, allocations: 0 / 0.5372 GB, free: 8.742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.301, allocations: 21.53 kB / 0.5372 GB, free: 8.73 MB / 398.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.0009335/0.3019, allocations: 403.3 kB / 0.5376 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.3022, allocations: 47.91 kB / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3022, allocations: 0 / 0.5377 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.3023, allocations: 27.73 kB / 0.5377 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003098/0.3026, allocations: 20.94 kB / 0.5377 GB, free: 8.473 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.303, allocations: 206.8 kB / 0.5379 GB, free: 8.289 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002368/0.3033, allocations: 0.7042 MB / 0.5386 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.3033, allocations: 12.06 kB / 0.5386 GB, free: 7.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3033, allocations: 3.938 kB / 0.5386 GB, free: 7.562 MB / 398.1 MB Notification: Performance of Templates: time 0.003402/0.3067, allocations: 1.439 MB / 0.54 GB, free: 6.82 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches