Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 176.7 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 223.3 MB / 241.4 MB, free: 11.69 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008115/0.0008113, allocations: 100.7 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003604/0.0003606, allocations: 15.94 kB / 352.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 50.4 MB / 402.8 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.4076, allocations: 81.22 MB / 484 MB, free: 15.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4078, allocations: 91.89 kB / 484.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01864/0.4265, allocations: 6.455 MB / 490.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4265, allocations: 0 / 490.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.668e-05/0.4266, allocations: 4 kB / 490.5 MB, free: 8.559 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.00138/0.428, allocations: 0.6355 MB / 491.2 MB, free: 7.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.801e-05/0.428, allocations: 8.031 kB / 491.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.4282, allocations: 32.56 kB / 491.2 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.4287, allocations: 308.1 kB / 491.5 MB, free: 7.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4287, allocations: 20.88 kB / 491.5 MB, free: 7.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.4288, allocations: 24.38 kB / 491.5 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007664/0.4295, allocations: 344.1 kB / 491.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.4296, allocations: 192 / 491.9 MB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.732e-05/0.4296, allocations: 15.94 kB / 491.9 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/0.4296, allocations: 4 kB / 491.9 MB, free: 7.082 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008289/0.4305, allocations: 310.1 kB / 492.2 MB, free: 6.777 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.4327, allocations: 1.182 MB / 493.4 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008467/0.4336, allocations: 286.5 kB / 493.7 MB, free: 5.23 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003481/0.4339, allocations: 124.8 kB / 493.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.434, allocations: 0 / 493.8 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005171/0.4345, allocations: 204.9 kB / 494 MB, free: 4.887 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.124e-06/0.4345, allocations: 0 / 494 MB, free: 4.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002354/0.4369, allocations: 0.7421 MB / 494.7 MB, free: 4.117 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.674e-05/0.437, allocations: 106.8 kB / 494.8 MB, free: 3.988 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003475/0.4373, allocations: 282.6 kB / 495.1 MB, free: 3.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.4374, allocations: 29.7 kB / 495.1 MB, free: 3.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.4375, allocations: 203.5 kB / 495.3 MB, free: 3.465 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.602e-05/0.4376, allocations: 47.38 kB / 495.4 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.4376, allocations: 4 kB / 495.4 MB, free: 3.414 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4378, allocations: 338.8 kB / 495.7 MB, free: 3.074 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000359/0.4381, allocations: 116.4 kB / 495.8 MB, free: 2.957 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003995/0.4385, allocations: 222.9 kB / 496.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.4392, allocations: 356.5 kB / 496.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4393, allocations: 0 / 496.4 MB, free: 2.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001266/0.4405, allocations: 0.51 MB / 496.9 MB, free: 1.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/0.4406, allocations: 33.7 kB / 496.9 MB, free: 1.738 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.4406, allocations: 4 kB / 496.9 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003994/0.441, allocations: 96.77 kB / 497 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002181/0.4412, allocations: 55.91 kB / 497.1 MB, free: 1.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.4442, allocations: 1.912 MB / 499 MB, free: 15.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004248/0.4446, allocations: 63.64 kB / 499.1 MB, free: 15.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.282e-05/0.4447, allocations: 12 kB / 499.1 MB, free: 15.46 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (24): * Single equations (assignments): 22 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.000223/0.4449, allocations: 149.8 kB / 499.2 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.258e-05/0.445, allocations: 27.66 kB / 499.3 MB, free: 15.28 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.318e-05/0.4451, allocations: 25.83 kB / 499.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4451, allocations: 4 kB / 499.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.4451, allocations: 0 / 499.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4451, allocations: 4.031 kB / 499.3 MB, free: 15.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/0.4455, allocations: 337.4 kB / 499.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4455, allocations: 0 / 499.6 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.4457, allocations: 31.97 kB / 499.7 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000285/0.446, allocations: 84.73 kB / 499.7 MB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.446, allocations: 4 kB / 499.7 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.4484, allocations: 1.811 MB / 0.4898 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.4485, allocations: 3.938 kB / 0.4898 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.4495, allocations: 405.5 kB / 0.4902 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.4497, allocations: 104.8 kB / 0.4903 GB, free: 12.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.4497, allocations: 4 kB / 0.4903 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.45, allocations: 47.95 kB / 0.4903 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.471e-05/0.4501, allocations: 19.97 kB / 0.4904 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4501, allocations: 128 / 0.4904 GB, free: 12.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002348/0.4503, allocations: 198 kB / 0.4905 GB, free: 11.99 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4503, allocations: 4 kB / 0.4905 GB, free: 11.99 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004671/0.4508, allocations: 91.69 kB / 0.4906 GB, free: 11.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (9): * Single equations (assignments): 6 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001905/0.451, allocations: 107.2 kB / 0.4907 GB, free: 11.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.4524, allocations: 0.5222 MB / 0.4912 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.4524, allocations: 3.938 kB / 0.4912 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005006/0.4529, allocations: 254.4 kB / 0.4915 GB, free: 10.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.4533, allocations: 55.28 kB / 0.4915 GB, free: 10.92 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.4564, allocations: 1.099 MB / 0.4926 GB, free: 9.793 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003703/0.4568, allocations: 0.756 MB / 0.4934 GB, free: 9.012 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001594/0.457, allocations: 30.27 kB / 0.4934 GB, free: 8.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.351e-05/0.457, allocations: 19.44 kB / 0.4934 GB, free: 8.961 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.457, allocations: 0 / 0.4934 GB, free: 8.961 MB / 378.7 MB Notification: Performance of Templates: time 0.008075/0.4651, allocations: 3.646 MB / 0.497 GB, free: 5.355 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches