Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|firstOrder.c.v|firstOrder.opAmp.out.v|firstOrder.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 203.2 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.2 MB / 245 MB, free: 7.594 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008419/0.0008419, allocations: 100 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002019/0.0002019, allocations: 8 kB / 357.9 MB, free: 9.516 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1821, allocations: 51.48 MB / 409.4 MB, free: 26.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09016/0.2723, allocations: 82.49 MB / 491.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.2725, allocations: 83.94 kB / 492 MB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01882/0.2913, allocations: 7.023 MB / 499 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2914, allocations: 0 / 499 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.343e-05/0.2914, allocations: 12 kB / 499 MB, free: 0.9766 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.00121/0.2927, allocations: 0.6647 MB / 499.7 MB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.2927, allocations: 8.031 kB / 499.7 MB, free: 256 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001124/0.2928, allocations: 39.62 kB / 499.7 MB, free: 216 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.2934, allocations: 306.3 kB / 0.4883 GB, free: 15.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.2934, allocations: 20.56 kB / 0.4883 GB, free: 15.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.59e-05/0.2935, allocations: 28 kB / 0.4884 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007882/0.2943, allocations: 367.5 kB / 0.4887 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.2943, allocations: 0 / 0.4887 GB, free: 15.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.2943, allocations: 12 kB / 0.4887 GB, free: 15.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.2944, allocations: 4 kB / 0.4887 GB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008432/0.2952, allocations: 338 kB / 0.4891 GB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002262/0.2975, allocations: 1.3 MB / 0.4903 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007684/0.2983, allocations: 370.4 kB / 0.4907 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.2983, allocations: 288 / 0.4907 GB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004964/0.2988, allocations: 223.9 kB / 0.4909 GB, free: 13.1 MB / 378.7 MB Notification: Performance of pre-optimization done (n=17): time 1.493e-06/0.2988, allocations: 4.094 kB / 0.4909 GB, free: 13.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.002049/0.3009, allocations: 0.7175 MB / 0.4916 GB, free: 12.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.301, allocations: 102.8 kB / 0.4917 GB, free: 12.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.3012, allocations: 266 kB / 0.492 GB, free: 11.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3013, allocations: 29.7 kB / 0.492 GB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.3014, allocations: 212 kB / 0.4922 GB, free: 11.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.971e-05/0.3015, allocations: 63.09 kB / 0.4922 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.3015, allocations: 8 kB / 0.4923 GB, free: 11.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3016, allocations: 334.8 kB / 0.4926 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000384/0.302, allocations: 128.2 kB / 0.4927 GB, free: 11.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.3025, allocations: 237.1 kB / 0.4929 GB, free: 10.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003969/0.3029, allocations: 170.6 kB / 0.4931 GB, free: 10.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3029, allocations: 3.938 kB / 0.4931 GB, free: 10.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001237/0.3041, allocations: 0.5178 MB / 0.4936 GB, free: 10.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.3042, allocations: 37.66 kB / 0.4936 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.3042, allocations: 0 / 0.4936 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002991/0.3045, allocations: 72.88 kB / 0.4937 GB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.3048, allocations: 75.89 kB / 0.4938 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.3073, allocations: 1.772 MB / 0.4955 GB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3077, allocations: 63.7 kB / 0.4956 GB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.3077, allocations: 16 kB / 0.4956 GB, free: 8.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.3079, allocations: 161.7 kB / 0.4957 GB, free: 7.852 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.308, allocations: 23.72 kB / 0.4958 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.442e-05/0.308, allocations: 30.2 kB / 0.4958 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.308, allocations: 0 / 0.4958 GB, free: 7.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.308, allocations: 4 kB / 0.4958 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.308, allocations: 0 / 0.4958 GB, free: 7.797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/0.3096, allocations: 0.8316 MB / 0.4966 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3096, allocations: 0 / 0.4966 GB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.3099, allocations: 51.89 kB / 0.4966 GB, free: 6.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002145/0.3101, allocations: 68.84 kB / 0.4967 GB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/0.3101, allocations: 8 kB / 0.4967 GB, free: 6.773 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/0.3119, allocations: 1.557 MB / 0.4982 GB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3119, allocations: 4.031 kB / 0.4982 GB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001415/0.3133, allocations: 0.6453 MB / 0.4989 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.956e-05/0.3134, allocations: 104.8 kB / 0.499 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.782e-05/0.3135, allocations: 11.94 kB / 0.499 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000292/0.3138, allocations: 40.03 kB / 0.499 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.212e-05/0.3139, allocations: 23.97 kB / 0.499 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.3139, allocations: 7.984 kB / 0.4991 GB, free: 4.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.3141, allocations: 210 kB / 0.4993 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3141, allocations: 0 / 0.4993 GB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.3145, allocations: 79.84 kB / 0.4993 GB, free: 3.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001585/0.3147, allocations: 119.1 kB / 0.4994 GB, free: 3.793 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001252/0.316, allocations: 0.5459 MB / 0.5 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.316, allocations: 0 / 0.5 GB, free: 3.223 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.3164, allocations: 254.7 kB / 0.5002 GB, free: 2.961 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.3168, allocations: 48.86 kB / 0.5003 GB, free: 2.914 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.3187, allocations: 0.8888 MB / 0.5011 GB, free: 1.996 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.319, allocations: 0.7719 MB / 0.5019 GB, free: 1.195 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.3191, allocations: 34.91 kB / 0.5019 GB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.229e-05/0.3192, allocations: 27.42 kB / 0.5019 GB, free: 1.137 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.3192, allocations: 0 / 0.5019 GB, free: 1.137 MB / 378.7 MB Notification: Performance of Templates: time 0.1476/0.4668, allocations: 3.638 MB / 0.5055 GB, free: 95.39 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches