Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 182.9 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009542/0.0009539, allocations: 98.84 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2266/0.2266, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 16 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 58.85 MB / 490.2 MB, free: 8.664 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4651/0.6078, allocations: 87.75 MB / 0.5645 GB, free: 12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002419/0.6081, allocations: 77.66 kB / 0.5645 GB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.6236, allocations: 5.857 MB / 0.5702 GB, free: 7.258 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6236, allocations: 0 / 0.5702 GB, free: 7.258 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.6236, allocations: 0 / 0.5702 GB, free: 7.258 MB / 378.7 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.0006764/0.6243, allocations: 462.4 kB / 0.5707 GB, free: 6.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.905e-05/0.6244, allocations: 12.03 kB / 0.5707 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.6245, allocations: 19.81 kB / 0.5707 GB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004187/0.6249, allocations: 248.6 kB / 0.571 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.6249, allocations: 9.234 kB / 0.571 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.625, allocations: 0 / 0.571 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.6252, allocations: 105.7 kB / 0.5711 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.6252, allocations: 0 / 0.5711 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.6252, allocations: 1.25 kB / 0.5711 GB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.6253, allocations: 8 kB / 0.5711 GB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001139/0.6254, allocations: 33.09 kB / 0.5711 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.6256, allocations: 228.2 kB / 0.5713 GB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.6259, allocations: 108.5 kB / 0.5714 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.078e-05/0.6259, allocations: 4 kB / 0.5714 GB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002317/0.6262, allocations: 107 kB / 0.5715 GB, free: 5.848 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.293e-06/0.6262, allocations: 4 kB / 0.5715 GB, free: 5.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004554/0.6267, allocations: 174.9 kB / 0.5717 GB, free: 5.699 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.6268, allocations: 128.5 kB / 0.5718 GB, free: 5.543 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002325/0.627, allocations: 204.9 kB / 0.572 GB, free: 5.367 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.065e-05/0.627, allocations: 25.7 kB / 0.572 GB, free: 5.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/0.6271, allocations: 115.1 kB / 0.5722 GB, free: 5.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.6272, allocations: 22.7 kB / 0.5722 GB, free: 5.223 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/0.6272, allocations: 3.062 kB / 0.5722 GB, free: 5.223 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6273, allocations: 329.2 kB / 0.5725 GB, free: 4.898 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.282e-05/0.6274, allocations: 37.97 kB / 0.5725 GB, free: 4.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.6275, allocations: 63.33 kB / 0.5726 GB, free: 4.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.428e-05/0.6276, allocations: 41.23 kB / 0.5726 GB, free: 4.773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6276, allocations: 0 / 0.5726 GB, free: 4.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000274/0.6279, allocations: 139 kB / 0.5728 GB, free: 4.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.6279, allocations: 11.44 kB / 0.5728 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6279, allocations: 0 / 0.5728 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.628, allocations: 0 / 0.5728 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.6281, allocations: 30.42 kB / 0.5728 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6281, allocations: 3.938 kB / 0.5728 GB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.211e-05/0.6282, allocations: 19.03 kB / 0.5728 GB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.6282, allocations: 4 kB / 0.5728 GB, free: 4.598 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.6284, allocations: 136.3 kB / 0.573 GB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.612e-05/0.6284, allocations: 20.44 kB / 0.573 GB, free: 4.441 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003439/0.6288, allocations: 166.5 kB / 0.5731 GB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/0.6288, allocations: 3.938 kB / 0.5731 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6288, allocations: 0 / 0.5731 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6288, allocations: 0 / 0.5731 GB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002118/0.629, allocations: 233 kB / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.629, allocations: 0 / 0.5734 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.6291, allocations: 23.92 kB / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.6291, allocations: 0 / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.6291, allocations: 0 / 0.5734 GB, free: 4.023 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.6291, allocations: 4 kB / 0.5734 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.6291, allocations: 0 / 0.5734 GB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.6294, allocations: 189.1 kB / 0.5736 GB, free: 3.836 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.6295, allocations: 108.7 kB / 0.5737 GB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.6296, allocations: 7.562 kB / 0.5737 GB, free: 3.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.6297, allocations: 7.984 kB / 0.5737 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.122e-05/0.6297, allocations: 11.86 kB / 0.5737 GB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.6297, allocations: 4 kB / 0.5737 GB, free: 3.691 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000168/0.6299, allocations: 168.3 kB / 0.5739 GB, free: 3.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6299, allocations: 3.938 kB / 0.5739 GB, free: 3.551 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000267/0.6302, allocations: 39.81 kB / 0.5739 GB, free: 3.516 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.6313, allocations: 469.2 kB / 0.5744 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.6315, allocations: 86.41 kB / 0.5744 GB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6315, allocations: 0 / 0.5744 GB, free: 3.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.6317, allocations: 51.72 kB / 0.5745 GB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.632, allocations: 51.41 kB / 0.5745 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006518/0.6327, allocations: 294.2 kB / 0.5748 GB, free: 2.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003973/0.6331, allocations: 0.7205 MB / 0.5755 GB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.6332, allocations: 42 kB / 0.5756 GB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.2e-05/0.6333, allocations: 23.42 kB / 0.5756 GB, free: 1.859 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6333, allocations: 0 / 0.5756 GB, free: 1.859 MB / 378.7 MB Notification: Performance of Templates: time 0.005796/0.6391, allocations: 2.539 MB / 0.5781 GB, free: 15.34 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches