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.002658/0.002658, allocations: 118.4 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002428/0.002428, allocations: 206 kB / 19.4 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.902/1.902, allocations: 227.4 MB / 247.6 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 63.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 50.54 MB / 410 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004007/0.3167, allocations: 2.952 MB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3182, allocations: 0.7557 MB / 413.7 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.3184, allocations: 7.938 kB / 413.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3186, allocations: 43.56 kB / 413.7 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002131/0.3188, allocations: 107.1 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003449/0.3192, allocations: 119.8 kB / 413.9 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004626/0.3197, allocations: 422.4 kB / 414.3 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002317/0.3199, allocations: 123.2 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001834/0.3201, allocations: 155.4 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001994/0.3203, allocations: 183.2 kB / 414.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.815e-05/0.3204, allocations: 40 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.395e-05/0.3204, allocations: 40 kB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.528e-05/0.3205, allocations: 79.7 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001528/0.3207, allocations: 171.2 kB / 415.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.3211, allocations: 447.6 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.3211, allocations: 0 / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3211, allocations: 0 / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.061e-05/0.3211, allocations: 4 kB / 415.6 MB, free: 11.94 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.001287/0.3224, allocations: 0.677 MB / 416.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.3225, allocations: 12.03 kB / 416.2 MB, free: 11.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.3226, allocations: 48.41 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004045/0.323, allocations: 295.6 kB / 416.6 MB, free: 10.82 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.323, allocations: 20.94 kB / 416.6 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/0.323, allocations: 28.36 kB / 416.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007013/0.3237, allocations: 335.9 kB / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3238, allocations: 0 / 417 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3238, allocations: 12 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.3238, allocations: 4 kB / 417 MB, free: 10.42 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007923/0.3246, allocations: 286.1 kB / 417.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.3265, allocations: 1.143 MB / 418.4 MB, free: 8.918 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/0.3273, allocations: 242.5 kB / 418.6 MB, free: 8.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003462/0.3277, allocations: 112.8 kB / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.3277, allocations: 0 / 418.7 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004776/0.3282, allocations: 181.9 kB / 418.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.3282, allocations: 3.938 kB / 418.9 MB, free: 8.355 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002398/0.3306, allocations: 0.6741 MB / 419.6 MB, free: 7.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.3307, allocations: 106.8 kB / 419.7 MB, free: 7.527 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.331, allocations: 286.5 kB / 420 MB, free: 7.242 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.089e-05/0.331, allocations: 37.64 kB / 420 MB, free: 7.199 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3312, allocations: 191.6 kB / 420.2 MB, free: 7.008 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.661e-05/0.3312, allocations: 51.36 kB / 420.3 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.723e-05/0.3313, allocations: 57.94 kB / 420.3 MB, free: 6.891 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.3315, allocations: 331 kB / 420.6 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003618/0.3318, allocations: 104.2 kB / 420.7 MB, free: 6.457 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.3322, allocations: 217.2 kB / 421 MB, free: 6.199 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000771/0.333, allocations: 323.1 kB / 421.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.333, allocations: 0 / 421.3 MB, free: 5.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001331/0.3344, allocations: 487.5 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.973e-05/0.3344, allocations: 33.7 kB / 421.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3345, allocations: 0 / 421.8 MB, free: 5.309 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.3349, allocations: 84.86 kB / 421.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.3352, allocations: 51.91 kB / 421.9 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003183/0.3384, allocations: 2.068 MB / 424 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003571/0.3387, allocations: 47.72 kB / 424 MB, free: 2.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.3388, allocations: 12 kB / 424 MB, free: 2.906 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.0001787/0.339, allocations: 161.7 kB / 424.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.339, allocations: 23.72 kB / 424.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.556e-05/0.3391, allocations: 25.83 kB / 424.2 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.3391, allocations: 4 kB / 424.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.3391, allocations: 0 / 424.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3391, allocations: 0 / 424.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002838/0.3394, allocations: 329.3 kB / 424.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3394, allocations: 0 / 424.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001361/0.3395, allocations: 23.91 kB / 424.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002753/0.3398, allocations: 84.8 kB / 424.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3398, allocations: 4 kB / 424.7 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/0.3422, allocations: 1.982 MB / 426.7 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.3422, allocations: 0 / 426.7 MB, free: 72 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.3433, allocations: 369.4 kB / 427 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/0.3434, allocations: 104.8 kB / 427.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.3434, allocations: 4 kB / 427.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.3437, allocations: 35.89 kB / 427.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.072e-05/0.3438, allocations: 19.97 kB / 427.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.3438, allocations: 8 kB / 427.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001914/0.344, allocations: 198 kB / 427.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.344, allocations: 0 / 427.4 MB, free: 15.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004258/0.3444, allocations: 87.78 kB / 427.5 MB, free: 15.22 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.0001295/0.3446, allocations: 99.25 kB / 427.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.3459, allocations: 0.5017 MB / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3459, allocations: 0 / 428.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004872/0.3464, allocations: 230.6 kB / 428.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3468, allocations: 57.97 kB / 428.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003211/0.35, allocations: 0.9582 MB / 429.3 MB, free: 13.31 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.3504, allocations: 0.7558 MB / 430.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.3504, allocations: 23.44 kB / 430.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3504, allocations: 0 / 430.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of Templates: time 0.006839/0.3573, allocations: 4.822 MB / 434.9 MB, free: 7.703 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