Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001112/0.001112, allocations: 109 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 210.8 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.9 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001496/0.001496, allocations: 75.88 kB / 482.1 MB, free: 3.988 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3044, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003624/0.3081, allocations: 1.722 MB / 0.5334 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3099, allocations: 1.026 MB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.31, allocations: 1.375 kB / 0.5344 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.3103, allocations: 44.14 kB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.3107, allocations: 91.09 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.311, allocations: 80.3 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001835/0.3112, allocations: 108.2 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.612e-05/0.3113, allocations: 11.41 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.3114, allocations: 44.19 kB / 0.5348 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.3115, allocations: 38.22 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3116, allocations: 2.906 kB / 0.5348 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.3117, allocations: 41.05 kB / 0.5349 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.623e-05/0.3117, allocations: 19.11 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.201e-05/0.3118, allocations: 39.97 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.312, allocations: 134.7 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.3121, allocations: 1.344 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3121, allocations: 3.938 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.3121, allocations: 0 / 0.5351 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000572/0.3127, allocations: 416.2 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3127, allocations: 8.812 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.3128, allocations: 18.19 kB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002815/0.3131, allocations: 217 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3131, allocations: 1.469 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.3131, allocations: 14.47 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3133, allocations: 54.23 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.3133, allocations: 1.219 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3134, allocations: 3.938 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3134, allocations: 1.125 kB / 0.5358 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.584e-05/0.3134, allocations: 18.14 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/0.3138, allocations: 287.3 kB / 0.5361 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.314, allocations: 62.83 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.314, allocations: 24.72 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3141, allocations: 1.062 kB / 0.5361 GB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.3142, allocations: 65.08 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.35e-05/0.3143, allocations: 1.188 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005491/0.3148, allocations: 185.9 kB / 0.5364 GB, free: 9.75 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.3149, allocations: 52.41 kB / 0.5364 GB, free: 9.688 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001991/0.3151, allocations: 204.9 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.3151, allocations: 25.7 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3152, allocations: 105.6 kB / 0.5367 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.971e-05/0.3153, allocations: 27.77 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.846e-05/0.3153, allocations: 20.59 kB / 0.5368 GB, free: 9.367 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3155, allocations: 334.9 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.3155, allocations: 18.36 kB / 0.5371 GB, free: 9.027 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.3156, allocations: 35.86 kB / 0.5372 GB, free: 9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.3157, allocations: 59.12 kB / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3157, allocations: 0 / 0.5372 GB, free: 8.961 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001929/0.3159, allocations: 107.8 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.316, allocations: 9.125 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.316, allocations: 1.406 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.316, allocations: 1.438 kB / 0.5373 GB, free: 8.887 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.983e-05/0.3161, allocations: 16.58 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3161, allocations: 1.438 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.122e-05/0.3162, allocations: 9.375 kB / 0.5374 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3162, allocations: 2.469 kB / 0.5374 GB, free: 8.875 MB / 398.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 (10): * Single equations (assignments): 10 * 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 9.612e-05/0.3163, allocations: 128.6 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3163, allocations: 9.312 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.217e-05/0.3164, allocations: 20.31 kB / 0.5375 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3164, allocations: 9.156 kB / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3164, allocations: 0 / 0.5375 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.944e-06/0.3164, allocations: 7.922 kB / 0.5375 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.3169, allocations: 396 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3169, allocations: 3.938 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.448e-05/0.3169, allocations: 7.938 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.3169, allocations: 1.062 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.317, allocations: 14.02 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.317, allocations: 1.094 kB / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.317, allocations: 0 / 0.5379 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002759/0.3173, allocations: 201.9 kB / 0.5381 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.001e-05/0.3173, allocations: 92.06 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.3174, allocations: 5.094 kB / 0.5382 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.3174, allocations: 14.17 kB / 0.5382 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.3175, allocations: 7.969 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.3175, allocations: 2.656 kB / 0.5382 GB, free: 8.016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3176, allocations: 158.6 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3177, allocations: 1.062 kB / 0.5384 GB, free: 7.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3179, allocations: 24.61 kB / 0.5384 GB, free: 7.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001082/0.319, allocations: 462.2 kB / 0.5389 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3192, allocations: 61.56 kB / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3192, allocations: 0 / 0.5389 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.286e-05/0.3193, allocations: 26.16 kB / 0.5389 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.3197, allocations: 35.98 kB / 0.539 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004795/0.3202, allocations: 264.8 kB / 0.5392 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.3205, allocations: 0.7111 MB / 0.5399 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.3205, allocations: 20.42 kB / 0.5399 GB, free: 6.668 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3205, allocations: 0 / 0.5399 GB, free: 6.668 MB / 398.1 MB Notification: Performance of Templates: time 0.004245/0.3248, allocations: 1.983 MB / 0.5419 GB, free: 5.645 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches