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.0009751/0.0009751, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 225.6 MB / 234.8 MB, free: 3.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007796/0.0007797, allocations: 97.58 kB / 286.7 MB, free: 5.328 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.023e-05, allocations: 4 kB / 343.7 MB, free: 8.254 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09148, allocations: 51.49 MB / 395.2 MB, free: 4.723 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2861/0.3776, allocations: 81.22 MB / 476.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001809/0.3778, allocations: 82.16 kB / 476.5 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01556/0.3934, allocations: 6.416 MB / 482.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3934, allocations: 0 / 482.9 MB, free: 6.516 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.3934, allocations: 8 kB / 482.9 MB, free: 6.508 MB / 346.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.0008661/0.3943, allocations: 0.5964 MB / 483.5 MB, free: 5.887 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3944, allocations: 12.03 kB / 483.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.3944, allocations: 35.53 kB / 483.6 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.3948, allocations: 291 kB / 483.8 MB, free: 5.559 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.3948, allocations: 8 kB / 483.9 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.524e-05/0.3948, allocations: 16 kB / 483.9 MB, free: 5.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002931/0.3951, allocations: 176.3 kB / 484 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.3955, allocations: 240.4 kB / 484.3 MB, free: 5.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.3955, allocations: 3.938 kB / 484.3 MB, free: 5.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.88e-05/0.3955, allocations: 3.984 kB / 484.3 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3955, allocations: 4 kB / 484.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.397, allocations: 1.123 MB / 485.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.3973, allocations: 142.6 kB / 485.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.214e-05/0.3974, allocations: 59.97 kB / 485.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3974, allocations: 0 / 485.6 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3976, allocations: 138.5 kB / 485.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3976, allocations: 0 / 485.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005584/0.3982, allocations: 232 kB / 486 MB, free: 3.801 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.3982, allocations: 110.8 kB / 486.1 MB, free: 3.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.3984, allocations: 235.8 kB / 486.3 MB, free: 3.477 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.3984, allocations: 25.7 kB / 486.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.3985, allocations: 209.5 kB / 486.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.3985, allocations: 37.89 kB / 486.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.3986, allocations: 0 / 486.6 MB, free: 3.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.691e-05/0.3986, allocations: 337.8 kB / 486.9 MB, free: 2.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.439e-05/0.3987, allocations: 51.48 kB / 487 MB, free: 2.875 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.3988, allocations: 154.5 kB / 487.1 MB, free: 2.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.689e-05/0.3989, allocations: 76.16 kB / 487.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3989, allocations: 1.969 kB / 487.2 MB, free: 2.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005868/0.3995, allocations: 334.3 kB / 487.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3996, allocations: 37.14 kB / 487.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3996, allocations: 3.25 kB / 487.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001797/0.3998, allocations: 51.64 kB / 487.6 MB, free: 2.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.4, allocations: 55.09 kB / 487.7 MB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.4012, allocations: 1.588 MB / 489.2 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003185/0.4015, allocations: 67.66 kB / 489.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.4015, allocations: 12 kB / 489.3 MB, free: 0.6211 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: buffer.opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real 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 () * 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.0001018/0.4016, allocations: 112.6 kB / 489.4 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.4017, allocations: 23.72 kB / 489.5 MB, free: 496 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.4017, allocations: 27.89 kB / 489.5 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.4017, allocations: 8 kB / 489.5 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.4017, allocations: 0 / 489.5 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4018, allocations: 0 / 489.5 MB, free: 464 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.4019, allocations: 284 kB / 489.8 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.4019, allocations: 0 / 489.8 MB, free: 192 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.4021, allocations: 31.22 kB / 489.8 MB, free: 164 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001081/0.4022, allocations: 59.3 kB / 489.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.4022, allocations: 0 / 489.9 MB, free: 116 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001358/0.4036, allocations: 1.58 MB / 491.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4036, allocations: 64 / 491.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005342/0.4042, allocations: 261.1 kB / 491.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.063e-05/0.4042, allocations: 112.5 kB / 491.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.4043, allocations: 0 / 491.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003079/0.4046, allocations: 39.95 kB / 491.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.4047, allocations: 23.28 kB / 491.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.4047, allocations: 0 / 491.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.4049, allocations: 185.6 kB / 492 MB, free: 14.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4049, allocations: 0 / 492 MB, free: 14.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000395/0.4053, allocations: 67.84 kB / 492.1 MB, free: 13.94 MB / 362.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) * 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.0001467/0.4054, allocations: 107.2 kB / 492.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004516/0.4059, allocations: 335.1 kB / 492.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4059, allocations: 0 / 492.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002099/0.4061, allocations: 180.6 kB / 492.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4064, allocations: 41.12 kB / 492.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.4092, allocations: 0.8049 MB / 493.6 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.4096, allocations: 0.7638 MB / 494.3 MB, free: 11.78 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001274/0.4097, allocations: 30.09 kB / 494.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.366e-05/0.4098, allocations: 19.44 kB / 494.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4098, allocations: 0 / 494.4 MB, free: 11.73 MB / 362.7 MB Notification: Performance of Templates: time 0.006264/0.416, allocations: 3.265 MB / 497.6 MB, free: 8.559 MB / 362.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/jenkins/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