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.001418/0.001418, allocations: 118.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001632/0.001633, allocations: 198 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001729/0.001729, allocations: 55.91 kB / 358.7 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3463/0.3481, allocations: 50.54 MB / 409.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004027/0.3522, allocations: 2.948 MB / 412.2 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.3537, allocations: 0.7557 MB / 413 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.3539, allocations: 4 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001727/0.3541, allocations: 43.52 kB / 413 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.3544, allocations: 107.1 kB / 413.1 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00034/0.3547, allocations: 123.7 kB / 413.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004575/0.3552, allocations: 414.5 kB / 413.7 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002423/0.3554, allocations: 131.2 kB / 413.8 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.3556, allocations: 159.4 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.3558, allocations: 179.2 kB / 414.1 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.939e-05/0.3559, allocations: 40 kB / 414.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.356, allocations: 40 kB / 414.2 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.493e-05/0.3561, allocations: 79.75 kB / 414.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001804/0.3563, allocations: 171.2 kB / 414.4 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004787/0.3567, allocations: 450.1 kB / 414.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3568, allocations: 0 / 414.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3568, allocations: 0 / 414.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.3568, allocations: 0 / 414.9 MB, free: 11.92 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.001298/0.3581, allocations: 0.6884 MB / 415.6 MB, free: 11.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3581, allocations: 11.97 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.793e-05/0.3582, allocations: 36.7 kB / 415.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000444/0.3587, allocations: 307.7 kB / 415.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.3587, allocations: 16.94 kB / 415.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.469e-05/0.3588, allocations: 28.38 kB / 416 MB, free: 10.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.3595, allocations: 331.9 kB / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3595, allocations: 0 / 416.3 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.013e-05/0.3595, allocations: 12 kB / 416.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3596, allocations: 8 kB / 416.3 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.3604, allocations: 286 kB / 416.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00182/0.3622, allocations: 1.143 MB / 417.7 MB, free: 8.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000829/0.363, allocations: 250.5 kB / 418 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000321/0.3634, allocations: 100.8 kB / 418.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.3634, allocations: 8 kB / 418.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.3639, allocations: 173.9 kB / 418.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.274e-06/0.3639, allocations: 0 / 418.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002339/0.3663, allocations: 0.6747 MB / 418.9 MB, free: 7.629 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.124e-05/0.3663, allocations: 110.8 kB / 419 MB, free: 7.496 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.3667, allocations: 286.6 kB / 419.3 MB, free: 7.211 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.3667, allocations: 25.7 kB / 419.3 MB, free: 7.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.3669, allocations: 208 kB / 419.5 MB, free: 6.973 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.944e-05/0.3669, allocations: 47.61 kB / 419.6 MB, free: 6.926 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.375e-05/0.367, allocations: 57.89 kB / 419.6 MB, free: 6.859 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3671, allocations: 330.8 kB / 420 MB, free: 6.527 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003486/0.3675, allocations: 112.1 kB / 420.1 MB, free: 6.418 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.3679, allocations: 213.5 kB / 420.3 MB, free: 6.164 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007178/0.3686, allocations: 316.6 kB / 420.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.3687, allocations: 7.875 kB / 420.6 MB, free: 5.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00126/0.3699, allocations: 486 kB / 421.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.759e-05/0.37, allocations: 37.7 kB / 421.1 MB, free: 5.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.37, allocations: 4 kB / 421.1 MB, free: 5.266 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004092/0.3704, allocations: 84.86 kB / 421.2 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002239/0.3707, allocations: 55.89 kB / 421.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002877/0.3735, allocations: 2.064 MB / 423.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003983/0.374, allocations: 55.8 kB / 423.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.374, allocations: 12.06 kB / 423.4 MB, free: 2.855 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.0001872/0.3742, allocations: 157.2 kB / 423.5 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.3742, allocations: 23.86 kB / 423.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.572e-05/0.3743, allocations: 29.83 kB / 423.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3743, allocations: 0 / 423.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.3743, allocations: 0 / 423.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.3743, allocations: 0 / 423.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.3746, allocations: 329.3 kB / 423.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3746, allocations: 0 / 423.9 MB, free: 2.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.3748, allocations: 27.97 kB / 423.9 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002969/0.3751, allocations: 76.75 kB / 424 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3751, allocations: 7.984 kB / 424 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002459/0.3776, allocations: 1.982 MB / 426 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3776, allocations: 0 / 426 MB, free: 28 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3787, allocations: 377.1 kB / 426.4 MB, free: 15.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.641e-05/0.3788, allocations: 108.9 kB / 426.5 MB, free: 15.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/0.3789, allocations: 8 kB / 426.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.3791, allocations: 31.91 kB / 426.5 MB, free: 15.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.195e-05/0.3792, allocations: 15.97 kB / 426.5 MB, free: 15.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.488e-05/0.3792, allocations: 8 kB / 426.5 MB, free: 15.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3794, allocations: 206 kB / 426.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3795, allocations: 0 / 426.7 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004416/0.3799, allocations: 79.89 kB / 426.8 MB, free: 15.18 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.0001539/0.3801, allocations: 95.25 kB / 426.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.3814, allocations: 0.5016 MB / 427.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3814, allocations: 0 / 427.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004791/0.3819, allocations: 239.2 kB / 427.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003536/0.3823, allocations: 56.59 kB / 427.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.3854, allocations: 0.9288 MB / 428.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3858, allocations: 0.7557 MB / 429.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.3859, allocations: 26.3 kB / 429.4 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.747e-05/0.386, allocations: 19.44 kB / 429.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.386, allocations: 0 / 429.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of Templates: time 0.008358/0.3943, allocations: 4.169 MB / 433.6 MB, free: 8.336 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/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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches