Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001596/0.001596, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002032/0.002032, allocations: 204.8 kB / 19.41 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.393/1.393, allocations: 227.4 MB / 247.6 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2069/0.2069, allocations: 46.09 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 75.88 kB / 482.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3023/0.3037, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002771/0.3065, allocations: 1.729 MB / 0.5334 GB, free: 12.21 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3081, allocations: 1.021 MB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.669e-05/0.3082, allocations: 1.375 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.3085, allocations: 82.08 kB / 0.5345 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3088, allocations: 110.1 kB / 0.5346 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.3089, allocations: 82.91 kB / 0.5347 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.3091, allocations: 121.1 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.3092, allocations: 10.88 kB / 0.5348 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.255e-05/0.3093, allocations: 49.78 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3094, allocations: 68.56 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.3095, allocations: 4.125 kB / 0.5349 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.263e-05/0.3096, allocations: 47.47 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.3096, allocations: 20.17 kB / 0.535 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.618e-05/0.3097, allocations: 39.97 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.3099, allocations: 128.6 kB / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3099, allocations: 0 / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3099, allocations: 0 / 0.5352 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.3099, allocations: 9.156 kB / 0.5352 GB, free: 10.95 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.0005011/0.3104, allocations: 416.8 kB / 0.5356 GB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.925e-05/0.3104, allocations: 13.56 kB / 0.5356 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.3105, allocations: 14.62 kB / 0.5356 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002335/0.3107, allocations: 216.2 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.3108, allocations: 2.531 kB / 0.5358 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3108, allocations: 6.344 kB / 0.5358 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.3109, allocations: 53.83 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3109, allocations: 7.984 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.311, allocations: 1.094 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.311, allocations: 5.156 kB / 0.5359 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.13e-05/0.311, allocations: 18.39 kB / 0.5359 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.3114, allocations: 287.9 kB / 0.5362 GB, free: 9.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.3116, allocations: 54.67 kB / 0.5362 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.333e-05/0.3116, allocations: 30.02 kB / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.3116, allocations: 0 / 0.5362 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.3118, allocations: 65.3 kB / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.3118, allocations: 0 / 0.5363 GB, free: 9.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.3123, allocations: 183.3 kB / 0.5365 GB, free: 9.672 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.3124, allocations: 53.22 kB / 0.5365 GB, free: 9.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3126, allocations: 229.5 kB / 0.5368 GB, free: 9.441 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.3126, allocations: 26.92 kB / 0.5368 GB, free: 9.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.3127, allocations: 105.8 kB / 0.5369 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3127, allocations: 23.08 kB / 0.5369 GB, free: 9.289 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.3127, allocations: 24.5 kB / 0.5369 GB, free: 9.266 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3128, allocations: 327 kB / 0.5372 GB, free: 8.941 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.758e-05/0.3129, allocations: 22.98 kB / 0.5373 GB, free: 8.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.772e-05/0.313, allocations: 43.61 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.3131, allocations: 54.56 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.3131, allocations: 1.406 kB / 0.5374 GB, free: 8.859 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001829/0.3133, allocations: 112.3 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.3133, allocations: 4.594 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.157e-06/0.3133, allocations: 0 / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3134, allocations: 1.938 kB / 0.5375 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.031e-05/0.3134, allocations: 20.89 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3135, allocations: 0.9688 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.651e-05/0.3135, allocations: 9.938 kB / 0.5375 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.3135, allocations: 7.312 kB / 0.5375 GB, free: 8.766 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.971e-05/0.3136, allocations: 126.6 kB / 0.5376 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/0.3137, allocations: 10.97 kB / 0.5376 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.3137, allocations: 15.25 kB / 0.5376 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.3137, allocations: 1.219 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.3137, allocations: 7.938 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3137, allocations: 7.922 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.3142, allocations: 392.9 kB / 0.538 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.3142, allocations: 1.094 kB / 0.538 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.369e-05/0.3142, allocations: 15.39 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3142, allocations: 1.188 kB / 0.5381 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3142, allocations: 5.125 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3142, allocations: 1.312 kB / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3143, allocations: 0 / 0.5381 GB, free: 8.219 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.3145, allocations: 206.7 kB / 0.5383 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.68e-05/0.3145, allocations: 88.23 kB / 0.5383 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.533e-05/0.3146, allocations: 5.438 kB / 0.5383 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.249e-05/0.3147, allocations: 9.438 kB / 0.5384 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.3147, allocations: 11.81 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.3147, allocations: 2.688 kB / 0.5384 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000148/0.3149, allocations: 173.2 kB / 0.5385 GB, free: 7.805 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3149, allocations: 0 / 0.5385 GB, free: 7.805 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3151, allocations: 25.66 kB / 0.5386 GB, free: 7.797 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.001/0.3161, allocations: 467 kB / 0.539 GB, free: 7.555 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001745/0.3163, allocations: 62.28 kB / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3163, allocations: 0 / 0.5391 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.3164, allocations: 25.52 kB / 0.5391 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.3168, allocations: 32.09 kB / 0.5391 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004515/0.3172, allocations: 280.1 kB / 0.5394 GB, free: 7.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3175, allocations: 0.7119 MB / 0.5401 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.3175, allocations: 16 kB / 0.5401 GB, free: 6.555 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3176, allocations: 0 / 0.5401 GB, free: 6.555 MB / 398.1 MB Notification: Performance of Templates: time 0.00365/0.3212, allocations: 2.006 MB / 0.5421 GB, free: 5.516 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches