Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.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.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002169/0.002169, allocations: 203.9 kB / 18.11 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.682/1.682, allocations: 226.5 MB / 245.4 MB, free: 8.184 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009685/0.0009684, allocations: 100.1 kB / 297.5 MB, free: 6.879 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003844/0.0003845, allocations: 12 kB / 358.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3722, allocations: 51.29 MB / 409.4 MB, free: 27.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1202/0.4925, allocations: 81.94 MB / 491.3 MB, free: 9.586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.4929, allocations: 83.95 kB / 491.4 MB, free: 9.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.5126, allocations: 6.514 MB / 497.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5127, allocations: 0 / 497.9 MB, free: 2.961 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.977e-05/0.5127, allocations: 8 kB / 497.9 MB, free: 2.953 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.001759/0.5145, allocations: 0.6316 MB / 498.6 MB, free: 2.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.653e-05/0.5146, allocations: 12.03 kB / 498.6 MB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002597/0.5149, allocations: 36.5 kB / 498.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.5156, allocations: 304.1 kB / 498.9 MB, free: 1.883 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.5157, allocations: 16.94 kB / 498.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.131e-05/0.5158, allocations: 28.36 kB / 499 MB, free: 1.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009775/0.5167, allocations: 336.2 kB / 499.3 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5168, allocations: 192 / 499.3 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.347e-05/0.5168, allocations: 15.94 kB / 499.3 MB, free: 1.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.5169, allocations: 4 kB / 499.3 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.5179, allocations: 321.9 kB / 499.6 MB, free: 1.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.5205, allocations: 1.174 MB / 0.4891 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009046/0.5214, allocations: 278.6 kB / 0.4893 GB, free: 15.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.5218, allocations: 116.8 kB / 0.4894 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.5219, allocations: 4 kB / 0.4894 GB, free: 15.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000706/0.5226, allocations: 203 kB / 0.4896 GB, free: 15.29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.705e-06/0.5226, allocations: 4 kB / 0.4896 GB, free: 15.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.002534/0.5252, allocations: 0.741 MB / 0.4904 GB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.5253, allocations: 110.8 kB / 0.4905 GB, free: 14.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003743/0.5257, allocations: 282.6 kB / 0.4907 GB, free: 14.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.5257, allocations: 33.69 kB / 0.4908 GB, free: 14.06 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.5259, allocations: 195.6 kB / 0.4909 GB, free: 13.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.526, allocations: 43.61 kB / 0.491 GB, free: 13.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.526, allocations: 4 kB / 0.491 GB, free: 13.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.5262, allocations: 334.8 kB / 0.4913 GB, free: 13.48 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.5266, allocations: 120.2 kB / 0.4914 GB, free: 13.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004593/0.527, allocations: 237.1 kB / 0.4917 GB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007943/0.5278, allocations: 348.6 kB / 0.492 GB, free: 12.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.5278, allocations: 0 / 0.492 GB, free: 12.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001373/0.5292, allocations: 0.5102 MB / 0.4925 GB, free: 12.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.344e-05/0.5293, allocations: 33.7 kB / 0.4925 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.5293, allocations: 4 kB / 0.4925 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004235/0.5297, allocations: 96.75 kB / 0.4926 GB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.53, allocations: 55.95 kB / 0.4927 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.5331, allocations: 1.912 MB / 0.4945 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004664/0.5336, allocations: 63.78 kB / 0.4946 GB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.247e-05/0.5337, allocations: 12 kB / 0.4946 GB, free: 9.859 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.0002609/0.5339, allocations: 149.7 kB / 0.4947 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.534, allocations: 31.66 kB / 0.4948 GB, free: 9.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.705e-05/0.5341, allocations: 25.84 kB / 0.4948 GB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.5341, allocations: 3.984 kB / 0.4948 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.5341, allocations: 0 / 0.4948 GB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.5341, allocations: 4 kB / 0.4948 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004268/0.5345, allocations: 321.4 kB / 0.4951 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.5346, allocations: 0 / 0.4951 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.5347, allocations: 31.97 kB / 0.4951 GB, free: 9.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003242/0.5351, allocations: 88.8 kB / 0.4952 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.942e-05/0.5351, allocations: 48 / 0.4952 GB, free: 9.152 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002723/0.5378, allocations: 1.819 MB / 0.497 GB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5378, allocations: 3.938 kB / 0.497 GB, free: 7.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001217/0.5391, allocations: 409.4 kB / 0.4974 GB, free: 6.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001436/0.5392, allocations: 104.8 kB / 0.4975 GB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.819e-05/0.5393, allocations: 11.92 kB / 0.4975 GB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.5396, allocations: 39.97 kB / 0.4976 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.5397, allocations: 23.91 kB / 0.4976 GB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.5397, allocations: 4 kB / 0.4976 GB, free: 6.578 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002515/0.54, allocations: 202 kB / 0.4978 GB, free: 6.379 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.54, allocations: 3.938 kB / 0.4978 GB, free: 6.375 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005078/0.5405, allocations: 87.75 kB / 0.4979 GB, free: 6.289 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.000278/0.5408, allocations: 103.9 kB / 0.498 GB, free: 6.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001565/0.5424, allocations: 0.5213 MB / 0.4985 GB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.163e-06/0.5424, allocations: 4 kB / 0.4985 GB, free: 5.625 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005511/0.5429, allocations: 254.9 kB / 0.4987 GB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004467/0.5434, allocations: 47.89 kB / 0.4988 GB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003272/0.5467, allocations: 1.099 MB / 0.4998 GB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004654/0.5472, allocations: 0.7521 MB / 0.5006 GB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001793/0.5474, allocations: 34.31 kB / 0.5006 GB, free: 3.383 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.5474, allocations: 19.44 kB / 0.5006 GB, free: 3.363 MB / 378.7 MB Notification: Performance of SimCode: time 1.222e-06/0.5474, allocations: 0 / 0.5006 GB, free: 3.363 MB / 378.7 MB Notification: Performance of Templates: time 0.2834/0.8308, allocations: 3.653 MB / 0.5042 GB, free: 96.78 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches