Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002609/0.002609, allocations: 161.7 kB / 24.26 MB, free: 176 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.487/1.487, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|buffer.opAmp.out.v|buffer.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.4 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.703e-05/2.856e-05, allocations: 2.312 kB / 272.4 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004875/0.004903, allocations: 2.767 MB / 275.1 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.006581, allocations: 0.7284 MB / 275.9 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.006811, allocations: 7.938 kB / 275.9 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002093/0.007021, allocations: 51.5 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003016/0.007322, allocations: 107.1 kB / 276 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.007697, allocations: 115.8 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006174/0.008314, allocations: 430.2 kB / 276.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002451/0.008559, allocations: 91.59 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004319/0.008991, allocations: 235.4 kB / 276.9 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002535/0.009244, allocations: 131.6 kB / 277 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.543e-05/0.00934, allocations: 40 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.972e-05/0.00942, allocations: 40 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.00952, allocations: 87.66 kB / 277.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.009709, allocations: 123.7 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006563/0.01037, allocations: 462.6 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01037, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.01037, allocations: 0 / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.815e-05/0.01039, allocations: 4 kB / 277.7 MB, free: 12.37 MB / 266.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.001574/0.01196, allocations: 0.5975 MB / 278.3 MB, free: 11.74 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.01201, allocations: 16.03 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001554/0.01216, allocations: 56.7 kB / 278.4 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.01263, allocations: 249.1 kB / 278.7 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.01266, allocations: 20.88 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.039e-05/0.01271, allocations: 24.38 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008755/0.01359, allocations: 378.7 kB / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.0136, allocations: 192 / 279.1 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.443e-05/0.01364, allocations: 12.38 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.01365, allocations: 7.938 kB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.01455, allocations: 293.7 kB / 279.4 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002083/0.01663, allocations: 0.9882 MB / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009255/0.01755, allocations: 242.5 kB / 280.6 MB, free: 9.355 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.01791, allocations: 100.8 kB / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.01793, allocations: 0 / 280.7 MB, free: 9.254 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.0185, allocations: 245.1 kB / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.443e-06/0.0185, allocations: 0 / 280.9 MB, free: 8.984 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.002467/0.02096, allocations: 0.5955 MB / 281.5 MB, free: 8.379 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002968/0.02126, allocations: 110.8 kB / 281.6 MB, free: 8.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.02162, allocations: 273.8 kB / 281.9 MB, free: 7.969 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.02165, allocations: 25.7 kB / 281.9 MB, free: 7.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.02183, allocations: 204 kB / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/0.02188, allocations: 47.62 kB / 282.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.022, allocations: 49.94 kB / 282.2 MB, free: 7.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.0222, allocations: 330.8 kB / 282.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003985/0.0226, allocations: 141.8 kB / 282.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005255/0.02312, allocations: 294.3 kB / 283 MB, free: 6.801 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007998/0.02392, allocations: 322.3 kB / 283.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.02393, allocations: 0 / 283.3 MB, free: 6.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001437/0.02536, allocations: 0.5169 MB / 283.8 MB, free: 5.902 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.513e-05/0.02541, allocations: 29.7 kB / 283.8 MB, free: 5.867 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.02542, allocations: 4 kB / 283.8 MB, free: 5.863 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007421/0.02616, allocations: 152.8 kB / 284 MB, free: 5.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002164/0.02638, allocations: 47.91 kB / 284 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003291/0.02967, allocations: 1.922 MB / 286 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.03004, allocations: 59.86 kB / 286 MB, free: 3.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.62e-05/0.03007, allocations: 8 kB / 286 MB, free: 3.574 MB / 266.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 (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.0001991/0.03027, allocations: 149.7 kB / 286.2 MB, free: 3.418 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.03033, allocations: 31.8 kB / 286.2 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.385e-05/0.0304, allocations: 25.77 kB / 286.2 MB, free: 3.352 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.0304, allocations: 4.219 kB / 286.2 MB, free: 3.348 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.0304, allocations: 4 kB / 286.2 MB, free: 3.344 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.03041, allocations: 3.938 kB / 286.2 MB, free: 3.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002951/0.0307, allocations: 213.3 kB / 286.4 MB, free: 3.102 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.03071, allocations: 4 kB / 286.5 MB, free: 3.098 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.03086, allocations: 27.91 kB / 286.5 MB, free: 3.07 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/0.03148, allocations: 144.7 kB / 286.6 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.0315, allocations: 4 kB / 286.6 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002858/0.03435, allocations: 1.84 MB / 288.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.03436, allocations: 3.938 kB / 288.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/0.03575, allocations: 369.6 kB / 288.8 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.03581, allocations: 19.84 kB / 288.8 MB, free: 0.5781 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.03585, allocations: 11.98 kB / 288.9 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002616/0.03612, allocations: 28.09 kB / 288.9 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/0.0362, allocations: 31.97 kB / 288.9 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.03622, allocations: 4 kB / 288.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002403/0.03646, allocations: 197.2 kB / 289.1 MB, free: 320 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03646, allocations: 0 / 289.1 MB, free: 320 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004944/0.03695, allocations: 83.78 kB / 289.2 MB, free: 236 kB / 266.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.0001559/0.03711, allocations: 103.2 kB / 289.3 MB, free: 124 kB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.03861, allocations: 0.5141 MB / 289.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03861, allocations: 0 / 289.8 MB, free: 15.58 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005719/0.03918, allocations: 239.1 kB / 290 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.03954, allocations: 58.86 kB / 290.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.04277, allocations: 0.9148 MB / 291 MB, free: 14.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.04295, allocations: 154.7 kB / 291.2 MB, free: 14.17 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.04308, allocations: 22.3 kB / 291.2 MB, free: 14.14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.04e-05/0.04315, allocations: 28.48 kB / 291.2 MB, free: 14.12 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.04315, allocations: 4 kB / 291.2 MB, free: 14.11 MB / 282.7 MB Notification: Performance of Templates: time 0.009732/0.05288, allocations: 4.111 MB / 295.3 MB, free: 10.06 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.391170489019714]