Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.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.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|gain.opAmp.out.v|gain.opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001202/0.001203, allocations: 196.8 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 226.5 MB / 245.4 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008489/0.0008491, allocations: 91.66 kB / 297.5 MB, free: 6.707 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002608/0.0002609, allocations: 8 kB / 358.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.299, allocations: 51.28 MB / 409.4 MB, free: 27.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1249/0.424, allocations: 81.94 MB / 491.3 MB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000344/0.4245, allocations: 88.75 kB / 491.4 MB, free: 9.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.4439, allocations: 6.508 MB / 497.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.426e-06/0.444, allocations: 0 / 497.9 MB, free: 2.988 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.39e-05/0.444, allocations: 8 kB / 497.9 MB, free: 2.98 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.001661/0.4457, allocations: 0.6315 MB / 498.6 MB, free: 2.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.878e-05/0.4458, allocations: 12.03 kB / 498.6 MB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.446, allocations: 32.56 kB / 498.6 MB, free: 2.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006185/0.4466, allocations: 312 kB / 498.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.4466, allocations: 20.94 kB / 498.9 MB, free: 1.887 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.4467, allocations: 24.38 kB / 498.9 MB, free: 1.863 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008637/0.4476, allocations: 336.2 kB / 499.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.4476, allocations: 192 / 499.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.911e-05/0.4477, allocations: 11.94 kB / 499.3 MB, free: 1.516 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4477, allocations: 11.98 kB / 499.3 MB, free: 1.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009298/0.4486, allocations: 314 kB / 499.6 MB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.4515, allocations: 1.174 MB / 0.489 GB, free: 15.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.4524, allocations: 286.5 kB / 0.4893 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003561/0.4527, allocations: 124.8 kB / 0.4894 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.652e-05/0.4528, allocations: 4 kB / 0.4894 GB, free: 15.52 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005733/0.4534, allocations: 191 kB / 0.4896 GB, free: 15.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.4534, allocations: 0 / 0.4896 GB, free: 15.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.00238/0.4558, allocations: 0.7332 MB / 0.4903 GB, free: 14.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.997e-05/0.4559, allocations: 114.9 kB / 0.4904 GB, free: 14.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003924/0.4563, allocations: 282.6 kB / 0.4907 GB, free: 14.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.607e-05/0.4563, allocations: 37.64 kB / 0.4908 GB, free: 14.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.4565, allocations: 191.7 kB / 0.4909 GB, free: 13.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.876e-05/0.4566, allocations: 43.45 kB / 0.491 GB, free: 13.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.4566, allocations: 4 kB / 0.491 GB, free: 13.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.4568, allocations: 330.8 kB / 0.4913 GB, free: 13.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.4571, allocations: 124.4 kB / 0.4914 GB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.4577, allocations: 216.8 kB / 0.4916 GB, free: 13.14 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.4584, allocations: 342.4 kB / 0.4919 GB, free: 12.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.4585, allocations: 0 / 0.4919 GB, free: 12.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001328/0.4598, allocations: 0.5034 MB / 0.4924 GB, free: 12.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.607e-05/0.4599, allocations: 37.77 kB / 0.4925 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.4599, allocations: 4 kB / 0.4925 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.4604, allocations: 92.8 kB / 0.4926 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.4606, allocations: 59.89 kB / 0.4926 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/0.4634, allocations: 1.799 MB / 0.4944 GB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.4638, allocations: 67.64 kB / 0.4944 GB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.4639, allocations: 12.06 kB / 0.4945 GB, free: 10.04 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 (23): * Single equations (assignments): 21 * 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.0002629/0.4641, allocations: 145.8 kB / 0.4946 GB, free: 9.883 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.087e-05/0.4642, allocations: 27.66 kB / 0.4946 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.467e-05/0.4643, allocations: 29.83 kB / 0.4947 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4643, allocations: 0 / 0.4947 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4643, allocations: 0 / 0.4947 GB, free: 9.824 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.4643, allocations: 3.984 kB / 0.4947 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.4648, allocations: 325.3 kB / 0.495 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4648, allocations: 0 / 0.495 GB, free: 9.453 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001445/0.4649, allocations: 36.09 kB / 0.495 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/0.4652, allocations: 88.8 kB / 0.4951 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/0.4653, allocations: 4 kB / 0.4951 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4675, allocations: 1.686 MB / 0.4967 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4676, allocations: 0 / 0.4967 GB, free: 7.504 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4687, allocations: 417.4 kB / 0.4971 GB, free: 7.074 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000125/0.4688, allocations: 96.8 kB / 0.4972 GB, free: 6.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.075e-05/0.4689, allocations: 15.92 kB / 0.4972 GB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.4691, allocations: 39.97 kB / 0.4973 GB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.4692, allocations: 31.84 kB / 0.4973 GB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4693, allocations: 0 / 0.4973 GB, free: 6.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002982/0.4696, allocations: 198 kB / 0.4975 GB, free: 6.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4696, allocations: 4 kB / 0.4975 GB, free: 6.676 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004816/0.4701, allocations: 83.75 kB / 0.4976 GB, free: 6.594 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.0002181/0.4703, allocations: 106.5 kB / 0.4977 GB, free: 6.48 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.4714, allocations: 461.9 kB / 0.4981 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4715, allocations: 0 / 0.4981 GB, free: 6.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005286/0.472, allocations: 259 kB / 0.4984 GB, free: 5.738 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.4724, allocations: 44.36 kB / 0.4984 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.4737, allocations: 0.5671 MB / 0.499 GB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004051/0.4742, allocations: 0.756 MB / 0.4997 GB, free: 4.324 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.4743, allocations: 26.28 kB / 0.4997 GB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.4744, allocations: 19.44 kB / 0.4997 GB, free: 4.281 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4744, allocations: 0 / 0.4997 GB, free: 4.281 MB / 378.7 MB Notification: Performance of Templates: time 0.009853/0.4843, allocations: 3.715 MB / 0.5034 GB, free: 0.6055 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/InvertingAmplifier/InvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches