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.001116/0.001117, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.311/1.311, allocations: 223.2 MB / 240.3 MB, free: 10.15 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.000842/0.0008419, allocations: 89.55 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002725/0.0002727, allocations: 11.94 kB / 351.1 MB, free: 15.09 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2545, allocations: 50.4 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.358, allocations: 81.18 MB / 482.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002556/0.3583, allocations: 87.95 kB / 482.8 MB, free: 15.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.017/0.3753, allocations: 6.447 MB / 489.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3754, allocations: 0 / 489.2 MB, free: 8.707 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.043e-05/0.3754, allocations: 8 kB / 489.2 MB, free: 8.699 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.001047/0.3764, allocations: 0.6314 MB / 489.9 MB, free: 8.012 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.3765, allocations: 8.031 kB / 489.9 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.529e-05/0.3766, allocations: 39.61 kB / 489.9 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.377, allocations: 287.1 kB / 490.2 MB, free: 7.645 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.377, allocations: 24.5 kB / 490.2 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.377, allocations: 27.94 kB / 490.2 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006894/0.3777, allocations: 339.9 kB / 490.6 MB, free: 7.254 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3778, allocations: 3.953 kB / 490.6 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.3778, allocations: 12 kB / 490.6 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.3778, allocations: 11.98 kB / 490.6 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007687/0.3786, allocations: 306.1 kB / 490.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.3804, allocations: 1.186 MB / 492.1 MB, free: 5.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/0.3812, allocations: 282.5 kB / 492.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.3813, allocations: 4 kB / 492.4 MB, free: 5.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004991/0.3818, allocations: 202.9 kB / 492.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.114e-06/0.3818, allocations: 0 / 492.6 MB, free: 5.156 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.002247/0.384, allocations: 0.7341 MB / 493.3 MB, free: 4.395 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/0.3841, allocations: 114.8 kB / 493.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.3844, allocations: 253.8 kB / 493.7 MB, free: 4.004 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.3844, allocations: 29.7 kB / 493.7 MB, free: 3.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.3846, allocations: 199.6 kB / 493.9 MB, free: 3.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3846, allocations: 39.45 kB / 493.9 MB, free: 3.73 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.272e-05/0.3847, allocations: 4 kB / 493.9 MB, free: 3.727 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.3848, allocations: 344 kB / 494.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.3852, allocations: 116.1 kB / 494.4 MB, free: 3.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.3856, allocations: 226.6 kB / 494.6 MB, free: 3.004 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003744/0.386, allocations: 164.4 kB / 494.7 MB, free: 2.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.386, allocations: 4.219 kB / 494.8 MB, free: 2.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001236/0.3873, allocations: 0.5074 MB / 495.3 MB, free: 2.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.3873, allocations: 37.62 kB / 495.3 MB, free: 2.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3873, allocations: 4 kB / 495.3 MB, free: 2.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003961/0.3877, allocations: 92.83 kB / 495.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002254/0.388, allocations: 55.91 kB / 495.4 MB, free: 2.117 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/0.3907, allocations: 1.944 MB / 497.4 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003692/0.3911, allocations: 63.72 kB / 497.5 MB, free: 15.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.3912, allocations: 12 kB / 497.5 MB, free: 15.96 MB / 378.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 (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 0.0001851/0.3913, allocations: 149.7 kB / 497.6 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.3914, allocations: 23.72 kB / 497.6 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.392e-05/0.3914, allocations: 29.83 kB / 497.7 MB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.3915, allocations: 4 kB / 497.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3915, allocations: 0 / 497.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3915, allocations: 3.984 kB / 497.7 MB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.3918, allocations: 325.5 kB / 498 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3918, allocations: 4 kB / 498 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000151/0.3919, allocations: 31.91 kB / 498 MB, free: 15.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002709/0.3922, allocations: 84.8 kB / 498.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.3923, allocations: 8 kB / 498.1 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002343/0.3946, allocations: 1.846 MB / 500 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3946, allocations: 4.062 kB / 500 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.3957, allocations: 412.5 kB / 0.4886 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.443e-05/0.3958, allocations: 104.8 kB / 0.4887 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.3958, allocations: 12 kB / 0.4887 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.3961, allocations: 35.97 kB / 0.4888 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.653e-05/0.3962, allocations: 19.97 kB / 0.4888 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.3962, allocations: 7.984 kB / 0.4888 GB, free: 12.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002091/0.3965, allocations: 198 kB / 0.489 GB, free: 12.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3965, allocations: 4 kB / 0.489 GB, free: 12.45 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004262/0.3969, allocations: 79.78 kB / 0.4891 GB, free: 12.38 MB / 378.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 (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.0001965/0.3971, allocations: 115.2 kB / 0.4892 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.3985, allocations: 0.5329 MB / 0.4897 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3985, allocations: 0 / 0.4897 GB, free: 11.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000486/0.399, allocations: 255.2 kB / 0.49 GB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.3993, allocations: 39.47 kB / 0.49 GB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.4024, allocations: 1.099 MB / 0.4911 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4027, allocations: 0.7638 MB / 0.4918 GB, free: 9.473 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001349/0.4029, allocations: 26.28 kB / 0.4918 GB, free: 9.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.4029, allocations: 19.44 kB / 0.4919 GB, free: 9.43 MB / 378.7 MB Notification: Performance of SimCode: time 3.4e-07/0.4029, allocations: 0 / 0.4919 GB, free: 9.43 MB / 378.7 MB Notification: Performance of Templates: time 0.007075/0.41, allocations: 3.613 MB / 0.4954 GB, free: 5.859 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