Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.001461, allocations: 201.8 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.544/1.544, allocations: 229.5 MB / 247.7 MB, free: 6.336 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 96.59 kB / 299.9 MB, free: 5.359 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002859, allocations: 8 kB / 360.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.335, allocations: 51.41 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.002895/0.3379, allocations: 2.521 MB / 414.6 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.3392, allocations: 0.9532 MB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3394, allocations: 4.75 kB / 415.5 MB, free: 22.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001532/0.3396, allocations: 35.75 kB / 415.6 MB, free: 22.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002108/0.3398, allocations: 93.09 kB / 415.7 MB, free: 22.24 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.3401, allocations: 103.2 kB / 415.8 MB, free: 22.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002963/0.3404, allocations: 386.4 kB / 416.1 MB, free: 21.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002361/0.3407, allocations: 101.6 kB / 416.2 MB, free: 21.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.3408, allocations: 131.4 kB / 416.4 MB, free: 21.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.341, allocations: 147.2 kB / 416.5 MB, free: 21.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.706e-05/0.341, allocations: 19.94 kB / 416.5 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.137e-05/0.3411, allocations: 20 kB / 416.6 MB, free: 21.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.354e-05/0.3411, allocations: 63.67 kB / 416.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3413, allocations: 168.9 kB / 416.8 MB, free: 21.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003403/0.3416, allocations: 428 kB / 417.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3417, allocations: 0 / 417.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3417, allocations: 0 / 417.2 MB, free: 20.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.3417, allocations: 0 / 417.2 MB, free: 20.7 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.001121/0.3428, allocations: 0.6342 MB / 417.8 MB, free: 20 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.3429, allocations: 8.031 kB / 417.8 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.537e-05/0.3429, allocations: 44.55 kB / 417.9 MB, free: 19.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003091/0.3432, allocations: 307.4 kB / 418.2 MB, free: 19.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.3433, allocations: 16.94 kB / 418.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.614e-05/0.3433, allocations: 24.38 kB / 418.2 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006588/0.344, allocations: 347.9 kB / 418.6 MB, free: 19.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.344, allocations: 4 kB / 418.6 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.3441, allocations: 12 kB / 418.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3441, allocations: 4 kB / 418.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007339/0.3448, allocations: 318 kB / 418.9 MB, free: 18.89 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3466, allocations: 1.174 MB / 420.1 MB, free: 17.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008436/0.3474, allocations: 278.6 kB / 420.3 MB, free: 17.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000315/0.3477, allocations: 120.8 kB / 420.5 MB, free: 17.24 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.205e-05/0.3478, allocations: 4 kB / 420.5 MB, free: 17.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005358/0.3484, allocations: 197.8 kB / 420.7 MB, free: 17.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.3484, allocations: 0 / 420.7 MB, free: 17.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002214/0.3506, allocations: 0.7413 MB / 421.4 MB, free: 16.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.3507, allocations: 110.8 kB / 421.5 MB, free: 16.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003151/0.351, allocations: 290.5 kB / 421.8 MB, free: 15.82 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.351, allocations: 29.7 kB / 421.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3511, allocations: 195.6 kB / 422 MB, free: 15.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3512, allocations: 43.39 kB / 422.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.3512, allocations: 4 kB / 422.1 MB, free: 15.55 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.827e-05/0.3513, allocations: 334.8 kB / 422.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.3516, allocations: 120.2 kB / 422.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004557/0.3521, allocations: 229.4 kB / 422.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.3527, allocations: 353.8 kB / 423.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.3528, allocations: 3.938 kB / 423.1 MB, free: 14.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001139/0.3539, allocations: 0.5112 MB / 423.6 MB, free: 13.9 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.354, allocations: 33.7 kB / 423.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.354, allocations: 4 kB / 423.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004032/0.3544, allocations: 92.86 kB / 423.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.3546, allocations: 55.89 kB / 423.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002462/0.3571, allocations: 1.916 MB / 425.7 MB, free: 11.65 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003269/0.3574, allocations: 67.78 kB / 425.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.446e-05/0.3575, allocations: 8 kB / 425.8 MB, free: 11.58 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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.000153/0.3576, allocations: 161.6 kB / 425.9 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.3577, allocations: 23.72 kB / 425.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.194e-05/0.3577, allocations: 29.83 kB / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3577, allocations: 0 / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.3577, allocations: 4 kB / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.3577, allocations: 0 / 426 MB, free: 11.36 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002489/0.358, allocations: 321.4 kB / 426.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.358, allocations: 0 / 426.3 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.3581, allocations: 27.97 kB / 426.3 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.3584, allocations: 88.8 kB / 426.4 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.3584, allocations: 4 kB / 426.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.3604, allocations: 1.826 MB / 428.2 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3604, allocations: 4 kB / 428.2 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009778/0.3614, allocations: 409.6 kB / 428.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.3614, allocations: 96.92 kB / 428.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.3615, allocations: 3.984 kB / 428.7 MB, free: 8.371 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3617, allocations: 43.97 kB / 428.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.561e-05/0.3618, allocations: 23.91 kB / 428.8 MB, free: 8.305 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.3618, allocations: 4 kB / 428.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002027/0.362, allocations: 198 kB / 429 MB, free: 8.109 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3621, allocations: 0 / 429 MB, free: 8.109 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00042/0.3625, allocations: 83.75 kB / 429.1 MB, free: 8.027 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.0001893/0.3627, allocations: 111.2 kB / 429.2 MB, free: 7.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0013/0.364, allocations: 0.5218 MB / 429.7 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.364, allocations: 4.125 kB / 429.7 MB, free: 7.355 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004351/0.3644, allocations: 262.5 kB / 430 MB, free: 7.086 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004153/0.3649, allocations: 60.19 kB / 430 MB, free: 7.027 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003498/0.3684, allocations: 1.116 MB / 431.1 MB, free: 5.883 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.3687, allocations: 0.7599 MB / 431.9 MB, free: 5.098 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001345/0.3688, allocations: 26.28 kB / 431.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.3689, allocations: 19.44 kB / 432 MB, free: 5.051 MB / 298.7 MB Notification: Performance of SimCode: time 4.5e-07/0.3689, allocations: 4 kB / 432 MB, free: 5.047 MB / 298.7 MB Notification: Performance of Templates: time 0.007514/0.3764, allocations: 3.721 MB / 435.7 MB, free: 1.348 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches