Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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.0.0_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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 222.9 MB / 240.9 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 102.5 kB / 291.2 MB, free: 10.94 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009486/0.0009489, allocations: 43.94 kB / 350 MB, free: 60 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3228, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003811/0.3267, allocations: 2.962 MB / 402.5 MB, free: 30.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.3284, allocations: 0.7249 MB / 403.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000207/0.3286, allocations: 7.938 kB / 403.2 MB, free: 29.66 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001898/0.3289, allocations: 35.75 kB / 403.2 MB, free: 29.62 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.3292, allocations: 87.33 kB / 403.3 MB, free: 29.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.3296, allocations: 99.91 kB / 403.4 MB, free: 29.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004963/0.3301, allocations: 390.4 kB / 403.8 MB, free: 29.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000322/0.3304, allocations: 115.8 kB / 403.9 MB, free: 28.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3307, allocations: 131.4 kB / 404 MB, free: 28.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002377/0.3309, allocations: 171.2 kB / 404.2 MB, free: 28.64 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.641e-05/0.331, allocations: 20 kB / 404.2 MB, free: 28.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.338e-05/0.3311, allocations: 24 kB / 404.2 MB, free: 28.6 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.62e-05/0.3312, allocations: 55.77 kB / 404.3 MB, free: 28.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002/0.3314, allocations: 159.1 kB / 404.4 MB, free: 28.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004879/0.3319, allocations: 440 kB / 404.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.027e-06/0.3319, allocations: 0 / 404.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3319, allocations: 0 / 404.9 MB, free: 27.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.3319, allocations: 0 / 404.9 MB, free: 27.96 MB / 298.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.001694/0.3336, allocations: 0.6731 MB / 405.5 MB, free: 27.23 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.3337, allocations: 8.031 kB / 405.6 MB, free: 27.22 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.3338, allocations: 36.56 kB / 405.6 MB, free: 27.19 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.3342, allocations: 299.6 kB / 405.9 MB, free: 26.86 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3342, allocations: 20.92 kB / 405.9 MB, free: 26.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.3343, allocations: 24.38 kB / 405.9 MB, free: 26.81 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008693/0.3352, allocations: 324 kB / 406.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.3352, allocations: 0 / 406.2 MB, free: 26.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.813e-05/0.3353, allocations: 16 kB / 406.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.3353, allocations: 4 kB / 406.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001051/0.3363, allocations: 282 kB / 406.5 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/0.3385, allocations: 1.162 MB / 407.7 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.3397, allocations: 250.6 kB / 407.9 MB, free: 24.7 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004598/0.3401, allocations: 108.8 kB / 408.1 MB, free: 24.59 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.3402, allocations: 4 kB / 408.1 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/0.3408, allocations: 181.8 kB / 408.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.185e-06/0.3408, allocations: 4 kB / 408.2 MB, free: 24.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.003222/0.3441, allocations: 0.6589 MB / 408.9 MB, free: 23.69 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3442, allocations: 110.8 kB / 409 MB, free: 23.56 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.3446, allocations: 290.5 kB / 409.3 MB, free: 23.27 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.542e-05/0.3446, allocations: 29.7 kB / 409.3 MB, free: 23.23 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.3448, allocations: 199.6 kB / 409.5 MB, free: 23.03 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.3449, allocations: 47.38 kB / 409.6 MB, free: 22.98 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001375/0.345, allocations: 49.94 kB / 409.6 MB, free: 22.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.3451, allocations: 338.8 kB / 409.9 MB, free: 22.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005293/0.3457, allocations: 112.2 kB / 410 MB, free: 22.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005827/0.3463, allocations: 210.8 kB / 410.3 MB, free: 22.23 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001088/0.3474, allocations: 321.6 kB / 410.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.3474, allocations: 0 / 410.6 MB, free: 21.87 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.002051/0.3495, allocations: 478.4 kB / 411 MB, free: 21.39 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.3495, allocations: 41.62 kB / 411.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3496, allocations: 4 kB / 411.1 MB, free: 21.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006093/0.3502, allocations: 92.86 kB / 411.2 MB, free: 21.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.3506, allocations: 47.91 kB / 411.2 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003943/0.3545, allocations: 1.861 MB / 413.1 MB, free: 19.2 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.3551, allocations: 55.77 kB / 413.1 MB, free: 19.14 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.3552, allocations: 12 kB / 413.1 MB, free: 19.13 MB / 298.7 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.0002272/0.3554, allocations: 157.8 kB / 413.3 MB, free: 18.97 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.3555, allocations: 23.72 kB / 413.3 MB, free: 18.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.928e-05/0.3556, allocations: 29.77 kB / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3556, allocations: 4 kB / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3556, allocations: 0 / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3557, allocations: 4.031 kB / 413.4 MB, free: 18.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.3561, allocations: 341.3 kB / 413.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3561, allocations: 0 / 413.7 MB, free: 18.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3564, allocations: 19.97 kB / 413.7 MB, free: 18.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004703/0.3568, allocations: 80.94 kB / 413.8 MB, free: 18.42 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.356e-05/0.3569, allocations: 11.98 kB / 413.8 MB, free: 18.41 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003204/0.3601, allocations: 1.783 MB / 415.6 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3601, allocations: 0 / 415.6 MB, free: 16.5 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002366/0.3625, allocations: 1.047 MB / 416.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.839e-05/0.3626, allocations: 96.83 kB / 416.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.3627, allocations: 4 kB / 416.7 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.3631, allocations: 31.95 kB / 416.8 MB, free: 15.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.3632, allocations: 27.91 kB / 416.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3633, allocations: 4 kB / 416.8 MB, free: 15.21 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002738/0.3635, allocations: 206 kB / 417 MB, free: 15.01 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.3636, allocations: 0 / 417 MB, free: 15.01 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000933/0.3645, allocations: 75.84 kB / 417.1 MB, free: 14.93 MB / 298.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 (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.0001752/0.3647, allocations: 104.2 kB / 417.2 MB, free: 14.82 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002/0.3667, allocations: 0.4936 MB / 417.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3667, allocations: 0 / 417.7 MB, free: 14.3 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.3675, allocations: 243.2 kB / 417.9 MB, free: 14.05 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005465/0.368, allocations: 56.5 kB / 418 MB, free: 14 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004888/0.3729, allocations: 1.169 MB / 419.1 MB, free: 12.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.3732, allocations: 0.7599 MB / 419.9 MB, free: 12 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.3734, allocations: 26.28 kB / 419.9 MB, free: 11.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.181e-05/0.3735, allocations: 19.44 kB / 419.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of SimCode: time 8.91e-07/0.3735, allocations: 0 / 419.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of Templates: time 0.01188/0.3854, allocations: 3.919 MB / 423.9 MB, free: 8.074 MB / 298.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches