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: 173.8 kB / 13.63 MB, free: 1.684 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.25/1.25, allocations: 221.3 MB / 235.5 MB, free: 2.898 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008886/0.0008886, allocations: 91.53 kB / 286.5 MB, free: 180 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.139e-05/2.143e-05, allocations: 4 kB / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08278/0.08281, allocations: 50.42 MB / 394.3 MB, free: 1.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2652/0.3481, allocations: 81.1 MB / 475.4 MB, free: 6.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.3483, allocations: 83.78 kB / 475.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01704/0.3654, allocations: 6.458 MB / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3654, allocations: 0 / 481.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.3654, allocations: 8 kB / 481.9 MB, free: 15.87 MB / 362.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.0009099/0.3663, allocations: 0.5887 MB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3664, allocations: 12.03 kB / 482.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.097e-05/0.3664, allocations: 35.56 kB / 482.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.3668, allocations: 291 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.376e-05/0.3668, allocations: 16.56 kB / 482.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.636e-05/0.3669, allocations: 28 kB / 482.9 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004525/0.3673, allocations: 272.1 kB / 483.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.3674, allocations: 3.953 kB / 483.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.218e-05/0.3674, allocations: 12 kB / 483.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.3674, allocations: 8 kB / 483.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.3678, allocations: 194.2 kB / 483.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.3696, allocations: 1.193 MB / 484.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.3699, allocations: 142.8 kB / 484.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.37, allocations: 60.86 kB / 484.7 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.37, allocations: 3.938 kB / 484.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.3702, allocations: 137.9 kB / 484.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.3703, allocations: 4 kB / 484.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006425/0.3709, allocations: 234.1 kB / 485.1 MB, free: 12.44 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.985e-05/0.371, allocations: 110.8 kB / 485.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002699/0.3713, allocations: 259 kB / 485.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.3713, allocations: 29.7 kB / 485.5 MB, free: 12.01 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.3714, allocations: 199.7 kB / 485.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.572e-05/0.3715, allocations: 43.45 kB / 485.7 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.326e-05/0.3715, allocations: 4 kB / 485.8 MB, free: 11.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.3716, allocations: 330.8 kB / 486.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3717, allocations: 64.23 kB / 486.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.3719, allocations: 161.3 kB / 486.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.372, allocations: 107 kB / 486.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3721, allocations: 4 kB / 486.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007064/0.3728, allocations: 377.2 kB / 486.8 MB, free: 10.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.025e-05/0.3728, allocations: 33.7 kB / 486.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.3728, allocations: 0 / 486.8 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.373, allocations: 64.77 kB / 486.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.3733, allocations: 52 kB / 486.9 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001932/0.3752, allocations: 1.744 MB / 488.7 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3755, allocations: 63.92 kB / 488.7 MB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.3756, allocations: 11.94 kB / 488.7 MB, free: 8.551 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.3757, allocations: 135.5 kB / 488.9 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.079e-05/0.3757, allocations: 27.7 kB / 488.9 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.467e-05/0.3758, allocations: 25.95 kB / 488.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3758, allocations: 0 / 488.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.3758, allocations: 0 / 488.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3758, allocations: 0 / 488.9 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002601/0.3761, allocations: 329.4 kB / 489.2 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3761, allocations: 3.938 kB / 489.2 MB, free: 7.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.3762, allocations: 31.98 kB / 489.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/0.3763, allocations: 48.83 kB / 489.3 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3764, allocations: 4 kB / 489.3 MB, free: 7.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001435/0.3778, allocations: 1.651 MB / 491 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3778, allocations: 0 / 491 MB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.3784, allocations: 273.2 kB / 491.2 MB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/0.3785, allocations: 100.8 kB / 491.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.617e-05/0.3785, allocations: 7.984 kB / 491.4 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002545/0.3788, allocations: 39.97 kB / 491.4 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.3788, allocations: 19.97 kB / 491.4 MB, free: 5.648 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/0.3789, allocations: 8 kB / 491.4 MB, free: 5.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.379, allocations: 199.1 kB / 491.6 MB, free: 5.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3791, allocations: 3.938 kB / 491.6 MB, free: 5.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003571/0.3794, allocations: 79.84 kB / 491.7 MB, free: 5.363 MB / 362.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001272/0.3795, allocations: 103.3 kB / 491.8 MB, free: 5.254 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008005/0.3804, allocations: 425.7 kB / 492.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3804, allocations: 0 / 492.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002397/0.3806, allocations: 195.2 kB / 492.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.3809, allocations: 52.45 kB / 492.5 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.3835, allocations: 0.8007 MB / 493.3 MB, free: 3.734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.3838, allocations: 0.7677 MB / 494 MB, free: 2.941 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001117/0.3839, allocations: 26.08 kB / 494 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.242e-05/0.384, allocations: 19.44 kB / 494.1 MB, free: 2.895 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.384, allocations: 4 kB / 494.1 MB, free: 2.891 MB / 362.7 MB Notification: Performance of Templates: time 0.006497/0.3905, allocations: 3.62 MB / 497.7 MB, free: 15.3 MB / 378.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/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