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.001689/0.001689, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002363/0.002363, allocations: 213.9 kB / 24.48 MB, free: 3.941 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.618/1.618, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001578/0.001578, allocations: 47.92 kB / 379 MB, free: 2.418 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.375, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.005541/0.3806, allocations: 2.762 MB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001844/0.3824, allocations: 0.7247 MB / 435.8 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001991/0.3826, allocations: 7.938 kB / 435.9 MB, free: 3.164 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.3828, allocations: 51.5 kB / 435.9 MB, free: 3.113 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002608/0.3831, allocations: 103.2 kB / 436 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003944/0.3835, allocations: 123.8 kB / 436.1 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005753/0.3841, allocations: 422.4 kB / 436.5 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002707/0.3843, allocations: 86.62 kB / 436.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002471/0.3846, allocations: 163.4 kB / 436.8 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.3849, allocations: 167.3 kB / 436.9 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.213e-05/0.3849, allocations: 44 kB / 437 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.106e-05/0.385, allocations: 40 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.3851, allocations: 83.69 kB / 437.1 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3853, allocations: 143.3 kB / 437.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000631/0.3859, allocations: 458 kB / 437.7 MB, free: 1.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.3859, allocations: 8 kB / 437.7 MB, free: 1.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.3859, allocations: 3.938 kB / 437.7 MB, free: 1.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.326e-06/0.3859, allocations: 0 / 437.7 MB, free: 1.305 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.001615/0.3876, allocations: 0.6053 MB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.3876, allocations: 8.031 kB / 438.3 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3877, allocations: 36.7 kB / 438.4 MB, free: 0.6211 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.3883, allocations: 253.8 kB / 438.6 MB, free: 356 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.3883, allocations: 16.88 kB / 438.6 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.845e-05/0.3884, allocations: 28.38 kB / 438.6 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008738/0.3892, allocations: 382.4 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.3892, allocations: 0 / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.643e-05/0.3893, allocations: 8 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3893, allocations: 11.94 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.3901, allocations: 293.7 kB / 439.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002042/0.3922, allocations: 0.9758 MB / 440.3 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008924/0.3931, allocations: 230.6 kB / 440.5 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003489/0.3934, allocations: 104.8 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.448e-05/0.3935, allocations: 4 kB / 440.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005739/0.394, allocations: 233.2 kB / 440.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 2.544e-06/0.394, allocations: 4 kB / 440.9 MB, free: 13.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00255/0.3966, allocations: 0.5838 MB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.3967, allocations: 110.8 kB / 441.6 MB, free: 13.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.3972, allocations: 277.8 kB / 441.8 MB, free: 12.94 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.3972, allocations: 29.7 kB / 441.9 MB, free: 12.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.3974, allocations: 200 kB / 442.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.3974, allocations: 51.64 kB / 442.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.3975, allocations: 53.88 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.3977, allocations: 330.8 kB / 442.5 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000378/0.3981, allocations: 133.8 kB / 442.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005349/0.3986, allocations: 299.1 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007666/0.3994, allocations: 316.6 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3994, allocations: 4 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001424/0.4008, allocations: 0.5004 MB / 443.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.4009, allocations: 33.7 kB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.4009, allocations: 4 kB / 443.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004866/0.4014, allocations: 97.02 kB / 443.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.4016, allocations: 43.97 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0034/0.405, allocations: 1.934 MB / 445.8 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004058/0.4054, allocations: 59.73 kB / 445.9 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.4055, allocations: 12 kB / 445.9 MB, free: 8.602 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.0002738/0.4057, allocations: 150.5 kB / 446 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.4058, allocations: 27.92 kB / 446.1 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.397e-05/0.4059, allocations: 25.77 kB / 446.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.4059, allocations: 7.938 kB / 446.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4059, allocations: 0 / 446.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.4059, allocations: 3.984 kB / 446.1 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003346/0.4062, allocations: 221 kB / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4062, allocations: 0 / 446.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001527/0.4064, allocations: 23.98 kB / 446.3 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003254/0.4067, allocations: 84.92 kB / 446.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.4067, allocations: 4 kB / 446.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/0.4099, allocations: 1.84 MB / 448.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4099, allocations: 0 / 448.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.4112, allocations: 368 kB / 448.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.283e-05/0.4112, allocations: 31.78 kB / 448.7 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.4113, allocations: 4 kB / 448.7 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002497/0.4115, allocations: 31.97 kB / 448.7 MB, free: 5.637 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.4116, allocations: 23.95 kB / 448.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.887e-05/0.4116, allocations: 4 kB / 448.7 MB, free: 5.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002949/0.4119, allocations: 193.2 kB / 448.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4119, allocations: 0 / 448.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005344/0.4125, allocations: 83.84 kB / 449 MB, free: 5.34 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.0002436/0.4127, allocations: 103.2 kB / 449.1 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.4143, allocations: 0.5074 MB / 449.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4143, allocations: 0 / 449.6 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005536/0.4148, allocations: 243 kB / 449.8 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.4152, allocations: 44.59 kB / 449.9 MB, free: 4.395 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.4187, allocations: 0.9373 MB / 450.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.4189, allocations: 142.9 kB / 451 MB, free: 3.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.4191, allocations: 30.27 kB / 451 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.477e-05/0.4191, allocations: 23.44 kB / 451 MB, free: 3.219 MB / 350.1 MB Notification: Performance of SimCode: time 2.134e-06/0.4191, allocations: 0 / 451 MB, free: 3.219 MB / 350.1 MB Notification: Performance of Templates: time 0.01088/0.43, allocations: 4.476 MB / 455.5 MB, free: 14.81 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/NonInvertingAmplifier/NonInvertingAmplifier.csv","/var/lib/jenkins1/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: 5.249508107997826]