Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00157/0.00157, allocations: 114.3 kB / 18.45 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.001598/0.001598, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.398/1.398, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2636, allocations: 50.54 MB / 410.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.00441/0.268, allocations: 2.956 MB / 413.2 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001468/0.2695, allocations: 0.7596 MB / 414 MB, free: 13.69 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.2696, allocations: 4 kB / 414 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.2698, allocations: 51.5 kB / 414 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.27, allocations: 107.2 kB / 414.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003031/0.2703, allocations: 119.8 kB / 414.2 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.2708, allocations: 418.4 kB / 414.6 MB, free: 13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.271, allocations: 91.19 kB / 414.7 MB, free: 12.9 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.2712, allocations: 151.5 kB / 414.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002148/0.2714, allocations: 175.2 kB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.039e-05/0.2715, allocations: 40 kB / 415.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.581e-05/0.2715, allocations: 40 kB / 415.1 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.856e-05/0.2716, allocations: 87.67 kB / 415.2 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.2718, allocations: 179.1 kB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004966/0.2723, allocations: 446.2 kB / 415.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2723, allocations: 3.938 kB / 415.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2723, allocations: 0 / 415.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2723, allocations: 0 / 415.8 MB, free: 11.8 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.001312/0.2736, allocations: 0.6806 MB / 416.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.2737, allocations: 8.031 kB / 416.5 MB, free: 11.06 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.958e-05/0.2737, allocations: 40.7 kB / 416.6 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.2742, allocations: 307.7 kB / 416.9 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.2742, allocations: 12.94 kB / 416.9 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.2743, allocations: 32.38 kB / 416.9 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007435/0.275, allocations: 323.9 kB / 417.2 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.275, allocations: 7.938 kB / 417.2 MB, free: 10.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.3e-05/0.2751, allocations: 8 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.594e-05/0.2751, allocations: 8 kB / 417.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/0.2759, allocations: 286 kB / 417.5 MB, free: 10.01 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001952/0.2779, allocations: 1.155 MB / 418.7 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008771/0.2787, allocations: 234.6 kB / 418.9 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003452/0.2791, allocations: 104.8 kB / 419 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.2791, allocations: 4.219 kB / 419 MB, free: 8.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004846/0.2796, allocations: 181.7 kB / 419.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2796, allocations: 0 / 419.2 MB, free: 8.227 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002406/0.282, allocations: 0.6747 MB / 419.9 MB, free: 7.523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/0.2821, allocations: 106.8 kB / 420 MB, free: 7.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003163/0.2824, allocations: 290.6 kB / 420.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.928e-05/0.2824, allocations: 29.7 kB / 420.3 MB, free: 7.07 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001605/0.2826, allocations: 204 kB / 420.5 MB, free: 6.867 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.2826, allocations: 43.62 kB / 420.5 MB, free: 6.824 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.333e-05/0.2827, allocations: 53.89 kB / 420.6 MB, free: 6.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2829, allocations: 334.8 kB / 420.9 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.2833, allocations: 104.2 kB / 421 MB, free: 6.324 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004546/0.2837, allocations: 221.2 kB / 421.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/0.2845, allocations: 308.7 kB / 421.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2845, allocations: 0 / 421.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001331/0.2858, allocations: 494.1 kB / 422 MB, free: 5.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/0.2858, allocations: 29.7 kB / 422 MB, free: 5.188 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.2859, allocations: 4 kB / 422 MB, free: 5.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003926/0.2862, allocations: 88.86 kB / 422.1 MB, free: 5.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.2865, allocations: 51.89 kB / 422.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/0.2896, allocations: 2.064 MB / 424.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/0.2899, allocations: 67.84 kB / 424.3 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2899, allocations: 16 kB / 424.3 MB, free: 2.758 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.0001915/0.2901, allocations: 153.7 kB / 424.5 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/0.2902, allocations: 23.86 kB / 424.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.725e-05/0.2902, allocations: 21.83 kB / 424.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.2902, allocations: 8 kB / 424.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.2902, allocations: 0 / 424.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.2902, allocations: 0 / 424.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.2906, allocations: 329.3 kB / 424.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2906, allocations: 0 / 424.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.2907, allocations: 19.97 kB / 424.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002847/0.291, allocations: 84.81 kB / 424.9 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.291, allocations: 3.984 kB / 424.9 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002558/0.2936, allocations: 1.978 MB / 426.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2936, allocations: 3.938 kB / 426.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.2947, allocations: 377.2 kB / 427.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.2948, allocations: 100.9 kB / 427.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.814e-05/0.2948, allocations: 12.03 kB / 427.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002511/0.2951, allocations: 43.89 kB / 427.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.832e-05/0.2951, allocations: 19.97 kB / 427.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.2951, allocations: 0 / 427.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002204/0.2954, allocations: 202 kB / 427.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2954, allocations: 0 / 427.7 MB, free: 15.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.2958, allocations: 83.83 kB / 427.8 MB, free: 15.07 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.0001885/0.296, allocations: 104.9 kB / 427.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.2973, allocations: 493.8 kB / 428.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2973, allocations: 0 / 428.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000513/0.2979, allocations: 243.1 kB / 428.6 MB, free: 14.2 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.2982, allocations: 36.55 kB / 428.6 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.3013, allocations: 0.9289 MB / 429.5 MB, free: 13.21 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.3017, allocations: 0.7557 MB / 430.3 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.3019, allocations: 34.22 kB / 430.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.897e-05/0.3019, allocations: 19.44 kB / 430.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3019, allocations: 0 / 430.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of Templates: time 0.008703/0.3106, allocations: 4.181 MB / 434.5 MB, free: 8.242 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches