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.001418/0.001418, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 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.001625/0.001625, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 8.012 MB / 206.1 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 0.001562/0.001562, allocations: 51.92 kB / 378.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.274, allocations: 53.34 MB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004591/0.2786, allocations: 2.988 MB / 434.6 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001419/0.28, allocations: 0.7713 MB / 435.4 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000158/0.2801, allocations: 7.938 kB / 435.4 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001711/0.2803, allocations: 51.44 kB / 435.5 MB, free: 3.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002186/0.2805, allocations: 111.2 kB / 435.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002999/0.2808, allocations: 119.8 kB / 435.7 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004899/0.2813, allocations: 414.4 kB / 436.1 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.2815, allocations: 91.67 kB / 436.2 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.2818, allocations: 155.5 kB / 436.3 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002663/0.282, allocations: 179.2 kB / 436.5 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.2821, allocations: 40 kB / 436.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.2822, allocations: 44 kB / 436.6 MB, free: 1.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2823, allocations: 79.7 kB / 436.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002058/0.2825, allocations: 175.2 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.283, allocations: 451.5 kB / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.283, allocations: 0 / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.283, allocations: 0 / 437.3 MB, free: 1.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.283, allocations: 0 / 437.3 MB, free: 1.242 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.001423/0.2844, allocations: 0.6091 MB / 437.9 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.2845, allocations: 16.02 kB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.924e-05/0.2846, allocations: 36.7 kB / 437.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004877/0.2851, allocations: 249.9 kB / 438.2 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.713e-05/0.2851, allocations: 20.81 kB / 438.2 MB, free: 264 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.494e-05/0.2851, allocations: 24.38 kB / 438.2 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.2859, allocations: 327 kB / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.2859, allocations: 0 / 438.5 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.428e-05/0.286, allocations: 16 kB / 438.6 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.286, allocations: 4 kB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008422/0.2868, allocations: 285.8 kB / 438.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/0.2889, allocations: 1.1 MB / 439.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008672/0.2897, allocations: 246.5 kB / 440.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003379/0.2901, allocations: 100.8 kB / 440.3 MB, free: 14.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.2901, allocations: 4 kB / 440.3 MB, free: 14.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005163/0.2906, allocations: 185.7 kB / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2906, allocations: 0 / 440.5 MB, free: 13.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00242/0.293, allocations: 0.5916 MB / 441.1 MB, free: 13.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/0.2931, allocations: 111 kB / 441.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003537/0.2935, allocations: 289.8 kB / 441.5 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.2935, allocations: 29.64 kB / 441.5 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.2937, allocations: 200 kB / 441.7 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.2937, allocations: 43.62 kB / 441.7 MB, free: 12.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.2938, allocations: 57.88 kB / 441.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.294, allocations: 334.8 kB / 442.1 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003663/0.2943, allocations: 112.1 kB / 442.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/0.2948, allocations: 210 kB / 442.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007557/0.2955, allocations: 323.2 kB / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2955, allocations: 0 / 442.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001304/0.2968, allocations: 479.7 kB / 443.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.004e-05/0.2969, allocations: 33.75 kB / 443.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2969, allocations: 8 kB / 443.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.2973, allocations: 88.78 kB / 443.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.2975, allocations: 47.91 kB / 443.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.3007, allocations: 1.972 MB / 445.4 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003481/0.301, allocations: 55.8 kB / 445.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.301, allocations: 12 kB / 445.4 MB, free: 8.625 MB / 350.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.0001699/0.3012, allocations: 149.7 kB / 445.6 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.3013, allocations: 23.92 kB / 445.6 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.82e-05/0.3013, allocations: 33.7 kB / 445.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3013, allocations: 4 kB / 445.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3013, allocations: 0 / 445.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3013, allocations: 3.984 kB / 445.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.3016, allocations: 296.4 kB / 445.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3016, allocations: 0 / 445.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.3018, allocations: 19.97 kB / 445.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002928/0.3021, allocations: 88.83 kB / 446 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.3021, allocations: 4 kB / 446 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/0.3047, allocations: 1.871 MB / 447.9 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3047, allocations: 4 kB / 447.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3058, allocations: 369.5 kB / 448.3 MB, free: 5.586 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.3059, allocations: 27.84 kB / 448.3 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.673e-05/0.3059, allocations: 4 kB / 448.3 MB, free: 5.555 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002481/0.3061, allocations: 35.91 kB / 448.3 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.3062, allocations: 19.97 kB / 448.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.3062, allocations: 7.984 kB / 448.4 MB, free: 5.492 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002212/0.3064, allocations: 201.2 kB / 448.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3064, allocations: 0 / 448.6 MB, free: 5.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000434/0.3069, allocations: 83.84 kB / 448.6 MB, free: 5.215 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.0001495/0.307, allocations: 107.2 kB / 448.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.3084, allocations: 488.6 kB / 449.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.3084, allocations: 4.125 kB / 449.2 MB, free: 4.594 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005103/0.3089, allocations: 234.5 kB / 449.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.3092, allocations: 52.34 kB / 449.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003254/0.3125, allocations: 0.9367 MB / 450.4 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3129, allocations: 0.7558 MB / 451.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001189/0.313, allocations: 30.31 kB / 451.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.3131, allocations: 27.44 kB / 451.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3131, allocations: 0 / 451.2 MB, free: 2.504 MB / 350.1 MB Notification: Performance of Templates: time 0.009343/0.3224, allocations: 4.322 MB / 455.6 MB, free: 14.22 MB / 366.1 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.722801289986819]