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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001193, allocations: 110.3 kB / 17.06 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 191 kB / 18 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 51.92 kB / 351.3 MB, free: 3.234 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 49.44 MB / 400.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004592/0.3395, allocations: 2.934 MB / 403.7 MB, free: 5.941 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.3407, allocations: 0.7207 MB / 404.4 MB, free: 5.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.3409, allocations: 7.938 kB / 404.4 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001714/0.3411, allocations: 51.5 kB / 404.5 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.3413, allocations: 103.2 kB / 404.6 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003404/0.3416, allocations: 115.8 kB / 404.7 MB, free: 4.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004654/0.3421, allocations: 426.4 kB / 405.1 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002586/0.3424, allocations: 127.3 kB / 405.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3426, allocations: 155.4 kB / 405.4 MB, free: 4.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001993/0.3428, allocations: 171.3 kB / 405.5 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.3428, allocations: 40 kB / 405.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.3429, allocations: 44 kB / 405.6 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.343, allocations: 79.64 kB / 405.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.3432, allocations: 175.2 kB / 405.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.3436, allocations: 455.6 kB / 406.3 MB, free: 3.297 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3436, allocations: 3.938 kB / 406.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3436, allocations: 0 / 406.3 MB, free: 3.293 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.3436, allocations: 0 / 406.3 MB, free: 3.293 MB / 318.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.001339/0.345, allocations: 0.6731 MB / 407 MB, free: 2.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.345, allocations: 15.89 kB / 407 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3451, allocations: 36.47 kB / 407 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003805/0.3455, allocations: 291.7 kB / 407.3 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3455, allocations: 20.94 kB / 407.3 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.771e-05/0.3456, allocations: 28.38 kB / 407.4 MB, free: 2.145 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006617/0.3463, allocations: 327.9 kB / 407.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3463, allocations: 0 / 407.7 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3463, allocations: 12 kB / 407.7 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3463, allocations: 4 kB / 407.7 MB, free: 1.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/0.3471, allocations: 286.1 kB / 408 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.3488, allocations: 1.15 MB / 409.1 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007541/0.3496, allocations: 254.5 kB / 409.4 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/0.3499, allocations: 100.9 kB / 409.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.082e-05/0.3499, allocations: 11.98 kB / 409.5 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004101/0.3504, allocations: 172.6 kB / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.3504, allocations: 0 / 409.7 MB, free: 15.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002103/0.3525, allocations: 0.6667 MB / 410.3 MB, free: 15.04 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.3526, allocations: 118.6 kB / 410.5 MB, free: 14.9 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.3529, allocations: 294.6 kB / 410.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.353, allocations: 25.7 kB / 410.8 MB, free: 14.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3531, allocations: 195.7 kB / 411 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.3532, allocations: 47.3 kB / 411 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.354e-05/0.3533, allocations: 49.94 kB / 411.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.3534, allocations: 334.8 kB / 411.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003194/0.3537, allocations: 112.2 kB / 411.5 MB, free: 13.82 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.3541, allocations: 205.3 kB / 411.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.3548, allocations: 324.6 kB / 412 MB, free: 13.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3548, allocations: 0 / 412 MB, free: 13.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00112/0.3559, allocations: 486 kB / 412.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.06e-05/0.356, allocations: 33.7 kB / 412.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.356, allocations: 4 kB / 412.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003911/0.3564, allocations: 88.86 kB / 412.6 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3566, allocations: 47.91 kB / 412.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/0.3596, allocations: 2.064 MB / 414.7 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003097/0.36, allocations: 59.72 kB / 414.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.36, allocations: 8 kB / 414.8 MB, free: 10.27 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.000178/0.3602, allocations: 161.8 kB / 414.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.018e-05/0.3602, allocations: 23.72 kB / 415 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.3603, allocations: 33.77 kB / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3603, allocations: 0 / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.3603, allocations: 4 kB / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3603, allocations: 0 / 415 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.3607, allocations: 325.4 kB / 415.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3607, allocations: 0 / 415.3 MB, free: 9.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.3608, allocations: 27.91 kB / 415.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002625/0.3611, allocations: 80.8 kB / 415.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.3611, allocations: 0 / 415.4 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002287/0.3634, allocations: 1.994 MB / 417.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3634, allocations: 0 / 417.4 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009513/0.3644, allocations: 365.5 kB / 417.8 MB, free: 7.051 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.3645, allocations: 100.8 kB / 417.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.3645, allocations: 4 kB / 417.9 MB, free: 6.93 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.3647, allocations: 39.89 kB / 417.9 MB, free: 6.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.3648, allocations: 15.98 kB / 417.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.3648, allocations: 4 kB / 417.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002215/0.3651, allocations: 206 kB / 418.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3651, allocations: 0 / 418.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004106/0.3655, allocations: 75.84 kB / 418.2 MB, free: 6.598 MB / 334.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.0002637/0.3658, allocations: 107.2 kB / 418.3 MB, free: 6.48 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.367, allocations: 0.4997 MB / 418.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.3671, allocations: 0 / 418.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3675, allocations: 243.1 kB / 419 MB, free: 5.711 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003374/0.3679, allocations: 54.17 kB / 419.1 MB, free: 5.656 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.3707, allocations: 0.937 MB / 420 MB, free: 4.695 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.3711, allocations: 0.7518 MB / 420.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.3712, allocations: 34.31 kB / 420.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.3712, allocations: 23.44 kB / 420.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3712, allocations: 0 / 420.8 MB, free: 3.859 MB / 334.1 MB Notification: Performance of Templates: time 0.009287/0.3805, allocations: 4.128 MB / 425 MB, free: 15.77 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches