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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001208/0.001208, allocations: 210.7 kB / 19.4 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 67.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2716, allocations: 50.55 MB / 410 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00394/0.2756, allocations: 2.952 MB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001298/0.2769, allocations: 0.7479 MB / 413.7 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.2771, allocations: 4 kB / 413.7 MB, free: 13.88 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.2772, allocations: 47.5 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001821/0.2774, allocations: 107.2 kB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2778, allocations: 115.8 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004891/0.2783, allocations: 422.4 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.2785, allocations: 127.2 kB / 414.5 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.2787, allocations: 159.4 kB / 414.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.2789, allocations: 171.3 kB / 414.8 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.876e-05/0.279, allocations: 44 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.184e-05/0.2791, allocations: 40 kB / 414.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.999e-05/0.2791, allocations: 79.7 kB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.2793, allocations: 175.2 kB / 415.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004051/0.2797, allocations: 455.6 kB / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2797, allocations: 0 / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2797, allocations: 0 / 415.6 MB, free: 11.97 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.2797, allocations: 0 / 415.6 MB, free: 11.97 MB / 334.1 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.001277/0.281, allocations: 0.6731 MB / 416.2 MB, free: 11.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2811, allocations: 8.031 kB / 416.3 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.2812, allocations: 40.47 kB / 416.3 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004123/0.2816, allocations: 307.5 kB / 416.6 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.2816, allocations: 20.94 kB / 416.6 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.2817, allocations: 24.38 kB / 416.6 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/0.2824, allocations: 327.9 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.2824, allocations: 7.938 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.941e-05/0.2824, allocations: 8 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2824, allocations: 8 kB / 417 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/0.2833, allocations: 282.1 kB / 417.3 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001796/0.2851, allocations: 1.143 MB / 418.4 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008416/0.2859, allocations: 250.5 kB / 418.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.2863, allocations: 108.8 kB / 418.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.2863, allocations: 0 / 418.7 MB, free: 8.598 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004609/0.2868, allocations: 181.9 kB / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.2868, allocations: 0 / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002373/0.2892, allocations: 0.6742 MB / 419.6 MB, free: 7.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.2893, allocations: 110.8 kB / 419.7 MB, free: 7.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.2895, allocations: 286.6 kB / 420 MB, free: 7.281 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.2896, allocations: 29.7 kB / 420 MB, free: 7.246 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.2897, allocations: 203.6 kB / 420.2 MB, free: 7.043 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.589e-05/0.2898, allocations: 43.39 kB / 420.3 MB, free: 7 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-05/0.2899, allocations: 45.94 kB / 420.3 MB, free: 6.945 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.29, allocations: 342.8 kB / 420.6 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.2903, allocations: 104.2 kB / 420.7 MB, free: 6.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004108/0.2908, allocations: 213.2 kB / 420.9 MB, free: 6.246 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.2915, allocations: 316.8 kB / 421.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.2915, allocations: 4 kB / 421.3 MB, free: 5.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001271/0.2928, allocations: 486 kB / 421.7 MB, free: 5.398 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.2928, allocations: 41.7 kB / 421.8 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.2928, allocations: 4 kB / 421.8 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003609/0.2932, allocations: 80.8 kB / 421.9 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000214/0.2934, allocations: 51.91 kB / 421.9 MB, free: 5.215 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002867/0.2963, allocations: 2.068 MB / 424 MB, free: 3.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.2967, allocations: 55.7 kB / 424 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.2967, allocations: 8 kB / 424 MB, free: 2.945 MB / 334.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001648/0.2969, allocations: 161.7 kB / 424.2 MB, free: 2.777 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.909e-05/0.2969, allocations: 23.72 kB / 424.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.577e-05/0.297, allocations: 29.83 kB / 424.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.297, allocations: 0 / 424.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.297, allocations: 4 kB / 424.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.297, allocations: 0 / 424.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002787/0.2973, allocations: 329.3 kB / 424.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2973, allocations: 0 / 424.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.2975, allocations: 19.98 kB / 424.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002784/0.2978, allocations: 80.8 kB / 424.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.2978, allocations: 11.98 kB / 424.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002329/0.3001, allocations: 1.974 MB / 426.7 MB, free: 116 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3001, allocations: 4.062 kB / 426.7 MB, free: 112 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3012, allocations: 369.4 kB / 427 MB, free: 15.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-05/0.3013, allocations: 96.88 kB / 427.1 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.3014, allocations: 15.97 kB / 427.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002448/0.3016, allocations: 35.91 kB / 427.2 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.3017, allocations: 19.97 kB / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3017, allocations: 0 / 427.2 MB, free: 15.54 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001913/0.3019, allocations: 206 kB / 427.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3019, allocations: 0 / 427.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.3023, allocations: 79.84 kB / 427.5 MB, free: 15.27 MB / 350.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001285/0.3025, allocations: 103.2 kB / 427.6 MB, free: 15.15 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.3038, allocations: 0.4905 MB / 428.1 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.3038, allocations: 8.062 kB / 428.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004848/0.3043, allocations: 234.5 kB / 428.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003335/0.3046, allocations: 52.45 kB / 428.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003073/0.3077, allocations: 0.9621 MB / 429.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.308, allocations: 0.7519 MB / 430.1 MB, free: 12.56 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.791e-05/0.3081, allocations: 31.42 kB / 430.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3081, allocations: 0 / 430.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of Templates: time 0.006703/0.3148, allocations: 4.787 MB / 434.9 MB, free: 7.773 MB / 350.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches