Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, 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.001614/0.001614, allocations: 208.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.388/1.388, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2148/0.2148, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 79.88 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3034/0.3049, allocations: 62.43 MB / 0.5317 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002941/0.3079, allocations: 1.738 MB / 0.5334 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001645/0.3095, allocations: 1.022 MB / 0.5344 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.3096, allocations: 0 / 0.5344 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003061/0.3099, allocations: 45.52 kB / 0.5345 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.3102, allocations: 103 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001886/0.3104, allocations: 74.92 kB / 0.5346 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.3106, allocations: 106.3 kB / 0.5347 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.3107, allocations: 10.86 kB / 0.5348 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.49e-05/0.3108, allocations: 38.92 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.189e-05/0.3109, allocations: 34.78 kB / 0.5348 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3109, allocations: 8.125 kB / 0.5348 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.362e-05/0.311, allocations: 43.47 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.455e-05/0.3111, allocations: 28.11 kB / 0.5349 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.3112, allocations: 32 kB / 0.5349 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001853/0.3114, allocations: 116.1 kB / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.3114, allocations: 5.219 kB / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3114, allocations: 0 / 0.535 GB, free: 11.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.3114, allocations: 0 / 0.535 GB, free: 11.24 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.0005463/0.3119, allocations: 417.9 kB / 0.5354 GB, free: 10.81 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.312, allocations: 13.66 kB / 0.5355 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.26e-05/0.312, allocations: 14.03 kB / 0.5355 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002529/0.3123, allocations: 221.4 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3123, allocations: 5.391 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.3123, allocations: 6.406 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.3125, allocations: 54.2 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3125, allocations: 0 / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.3126, allocations: 1.094 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.3126, allocations: 1.062 kB / 0.5357 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.425e-05/0.3126, allocations: 21.77 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003384/0.313, allocations: 288 kB / 0.536 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.3132, allocations: 62.05 kB / 0.5361 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.3132, allocations: 17.23 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.354e-05/0.3133, allocations: 1.062 kB / 0.5361 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.3134, allocations: 73.88 kB / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.3135, allocations: 0 / 0.5362 GB, free: 10.06 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005223/0.314, allocations: 178.8 kB / 0.5364 GB, free: 9.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/0.314, allocations: 60.41 kB / 0.5364 GB, free: 9.883 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/0.3143, allocations: 208.3 kB / 0.5366 GB, free: 9.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.3143, allocations: 30.83 kB / 0.5366 GB, free: 9.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3143, allocations: 104.7 kB / 0.5367 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.34e-05/0.3144, allocations: 24.19 kB / 0.5368 GB, free: 9.578 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-05/0.3144, allocations: 32.39 kB / 0.5368 GB, free: 9.547 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3145, allocations: 326.3 kB / 0.5371 GB, free: 9.223 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.538e-05/0.3146, allocations: 18.78 kB / 0.5371 GB, free: 9.215 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.217e-05/0.3147, allocations: 35.55 kB / 0.5372 GB, free: 9.188 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.3148, allocations: 63.83 kB / 0.5372 GB, free: 9.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3148, allocations: 0 / 0.5372 GB, free: 9.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002081/0.315, allocations: 108 kB / 0.5373 GB, free: 9.074 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.315, allocations: 9.234 kB / 0.5373 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3151, allocations: 0 / 0.5373 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.3151, allocations: 1.281 kB / 0.5373 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.3152, allocations: 13.16 kB / 0.5374 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3152, allocations: 5 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.3153, allocations: 9.922 kB / 0.5374 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3153, allocations: 10.98 kB / 0.5374 GB, free: 9.051 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.478e-05/0.3154, allocations: 124 kB / 0.5375 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.3154, allocations: 10.47 kB / 0.5375 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.122e-05/0.3155, allocations: 19.14 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3155, allocations: 1.156 kB / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.3155, allocations: 0 / 0.5375 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3155, allocations: 3.938 kB / 0.5375 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3159, allocations: 404.2 kB / 0.5379 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3159, allocations: 0 / 0.5379 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.316, allocations: 7.938 kB / 0.5379 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.316, allocations: 1.469 kB / 0.5379 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.316, allocations: 9.25 kB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.316, allocations: 1.031 kB / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.316, allocations: 0 / 0.5379 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.3162, allocations: 205.9 kB / 0.5381 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3163, allocations: 99.28 kB / 0.5382 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/0.3163, allocations: 6.406 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.3164, allocations: 1.375 kB / 0.5382 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3164, allocations: 8.359 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.3165, allocations: 2.594 kB / 0.5382 GB, free: 8.207 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3166, allocations: 167.4 kB / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3166, allocations: 0 / 0.5384 GB, free: 8.09 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.3169, allocations: 21.03 kB / 0.5384 GB, free: 8.086 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.001013/0.3179, allocations: 454.3 kB / 0.5389 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.3181, allocations: 58.3 kB / 0.5389 GB, free: 7.832 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3181, allocations: 8 kB / 0.5389 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.045e-05/0.3182, allocations: 29.64 kB / 0.5389 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.3185, allocations: 32.39 kB / 0.539 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000472/0.319, allocations: 261.4 kB / 0.5392 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.3193, allocations: 0.7148 MB / 0.5399 GB, free: 6.863 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.3193, allocations: 23.94 kB / 0.5399 GB, free: 6.852 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3193, allocations: 0 / 0.5399 GB, free: 6.852 MB / 398.1 MB Notification: Performance of Templates: time 0.003826/0.3232, allocations: 1.993 MB / 0.5419 GB, free: 5.824 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches