Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001355/0.001355, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001517/0.001517, allocations: 212.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.367/1.367, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2113/0.2113, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 75.88 kB / 482 MB, free: 4.039 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2995, allocations: 62.43 MB / 0.5317 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003162/0.3028, allocations: 1.617 MB / 0.5333 GB, free: 12.55 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001815/0.3046, allocations: 1.157 MB / 0.5344 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.065e-05/0.3047, allocations: 1.375 kB / 0.5344 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.3049, allocations: 27.92 kB / 0.5344 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.3053, allocations: 89.73 kB / 0.5345 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3056, allocations: 94.19 kB / 0.5346 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.3058, allocations: 75.45 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3059, allocations: 16.23 kB / 0.5347 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.545e-05/0.306, allocations: 26.91 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008962/0.3069, allocations: 44.16 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.064e-05/0.3069, allocations: 4.125 kB / 0.5347 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001986/0.3071, allocations: 96.19 kB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.892e-05/0.3072, allocations: 16.05 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.3073, allocations: 30.67 kB / 0.5349 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002894/0.3076, allocations: 153.2 kB / 0.535 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3076, allocations: 0 / 0.535 GB, free: 11.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3076, allocations: 0 / 0.535 GB, free: 11.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.3076, allocations: 0 / 0.535 GB, free: 11.22 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005624/0.3082, allocations: 416.7 kB / 0.5354 GB, free: 10.8 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.3082, allocations: 10.03 kB / 0.5354 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.077e-05/0.3083, allocations: 8.906 kB / 0.5354 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.3085, allocations: 194 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3085, allocations: 5.625 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.3085, allocations: 7.281 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.3087, allocations: 80.95 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.3087, allocations: 0 / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.3087, allocations: 1.094 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3087, allocations: 5.219 kB / 0.5357 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.3089, allocations: 33.97 kB / 0.5358 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3093, allocations: 294.5 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.3094, allocations: 51.45 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.721e-05/0.3095, allocations: 21.58 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.3095, allocations: 5.75 kB / 0.5361 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.3096, allocations: 31.56 kB / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.3096, allocations: 0 / 0.5361 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000709/0.3103, allocations: 185.7 kB / 0.5363 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.788e-05/0.3103, allocations: 78.14 kB / 0.5364 GB, free: 9.859 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.3105, allocations: 171.3 kB / 0.5366 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3105, allocations: 26.77 kB / 0.5366 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.3106, allocations: 99.28 kB / 0.5367 GB, free: 9.586 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3106, allocations: 23 kB / 0.5367 GB, free: 9.566 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.3107, allocations: 24.7 kB / 0.5367 GB, free: 9.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3108, allocations: 317.1 kB / 0.537 GB, free: 9.227 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/0.3109, allocations: 24.94 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.263e-05/0.311, allocations: 42.67 kB / 0.5371 GB, free: 9.184 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3112, allocations: 60.44 kB / 0.5371 GB, free: 9.152 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.3112, allocations: 0 / 0.5371 GB, free: 9.152 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002264/0.3114, allocations: 95.62 kB / 0.5372 GB, free: 9.094 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3115, allocations: 9.047 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3115, allocations: 1 kB / 0.5372 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3115, allocations: 3.984 kB / 0.5373 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.3116, allocations: 26.55 kB / 0.5373 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.3116, allocations: 3.938 kB / 0.5373 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.567e-05/0.3117, allocations: 16.09 kB / 0.5373 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3117, allocations: 2.25 kB / 0.5373 GB, free: 9.059 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 (8): * Single equations (assignments): 8 * 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.0001337/0.3118, allocations: 113.9 kB / 0.5374 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.3119, allocations: 13.33 kB / 0.5374 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.3122, allocations: 116.9 kB / 0.5375 GB, free: 8.852 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3122, allocations: 5.172 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3122, allocations: 1.062 kB / 0.5375 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.3122, allocations: 3.938 kB / 0.5375 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.3127, allocations: 384.4 kB / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3127, allocations: 0 / 0.5379 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.359e-05/0.3128, allocations: 22.02 kB / 0.5379 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.3128, allocations: 3.938 kB / 0.5379 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.3128, allocations: 10.12 kB / 0.5379 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3128, allocations: 0 / 0.5379 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.3129, allocations: 1.156 kB / 0.5379 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.3131, allocations: 189.7 kB / 0.5381 GB, free: 8.293 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.37e-05/0.3132, allocations: 83.52 kB / 0.5382 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.3132, allocations: 5.219 kB / 0.5382 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.3133, allocations: 15.92 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.3133, allocations: 2.781 kB / 0.5382 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-06/0.3133, allocations: 6.875 kB / 0.5382 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.3134, allocations: 119.1 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3135, allocations: 0 / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.3138, allocations: 42.39 kB / 0.5384 GB, free: 8.066 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 (8): * Single equations (assignments): 8 * 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.001115/0.3149, allocations: 0.4912 MB / 0.5389 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3151, allocations: 58.84 kB / 0.5389 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3151, allocations: 4 kB / 0.5389 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.62e-05/0.3152, allocations: 42.5 kB / 0.539 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003617/0.3156, allocations: 16.75 kB / 0.539 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/0.3161, allocations: 215.2 kB / 0.5392 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.3164, allocations: 0.6915 MB / 0.5399 GB, free: 6.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.617e-05/0.3164, allocations: 24.8 kB / 0.5399 GB, free: 6.844 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3164, allocations: 0 / 0.5399 GB, free: 6.844 MB / 398.1 MB Notification: Performance of Templates: time 0.004429/0.3209, allocations: 2.116 MB / 0.542 GB, free: 5.754 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches