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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00191/0.00191, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.456/1.456, allocations: 225.6 MB / 250.8 MB, free: 13.4 MB / 206.1 MB " [Timeout remaining time 178] 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 47.92 kB / 368.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2748, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004793/0.2796, allocations: 2.97 MB / 423.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2812, allocations: 0.7324 MB / 424.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2814, allocations: 7.938 kB / 424.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001774/0.2816, allocations: 55.5 kB / 424.7 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.2818, allocations: 99.19 kB / 424.8 MB, free: 11.24 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003006/0.2821, allocations: 115.8 kB / 424.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004796/0.2826, allocations: 422.4 kB / 425.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002314/0.2828, allocations: 91.22 kB / 425.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.283, allocations: 159.4 kB / 425.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002353/0.2833, allocations: 171.3 kB / 425.7 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.126e-05/0.2833, allocations: 40 kB / 425.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.135e-05/0.2834, allocations: 40 kB / 425.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.185e-05/0.2835, allocations: 79.69 kB / 425.8 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001924/0.2837, allocations: 179.2 kB / 426 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005411/0.2842, allocations: 463.4 kB / 426.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2842, allocations: 0 / 426.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2842, allocations: 0 / 426.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.2842, allocations: 0 / 426.5 MB, free: 9.508 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.001385/0.2856, allocations: 0.6767 MB / 427.1 MB, free: 8.777 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.2857, allocations: 11.89 kB / 427.2 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.267e-05/0.2857, allocations: 40.73 kB / 427.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004699/0.2862, allocations: 299.8 kB / 427.5 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.2862, allocations: 20.92 kB / 427.5 MB, free: 8.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.6e-05/0.2863, allocations: 32.38 kB / 427.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007476/0.287, allocations: 323.9 kB / 427.9 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2871, allocations: 4 kB / 427.9 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.2871, allocations: 8 kB / 427.9 MB, free: 8.008 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.2871, allocations: 11.98 kB / 427.9 MB, free: 7.996 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008148/0.2879, allocations: 282.1 kB / 428.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2899, allocations: 1.154 MB / 429.3 MB, free: 6.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.2907, allocations: 242.5 kB / 429.6 MB, free: 6.242 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003294/0.2911, allocations: 96.78 kB / 429.6 MB, free: 6.145 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.131e-05/0.2911, allocations: 4 kB / 429.7 MB, free: 6.141 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004798/0.2916, allocations: 177.9 kB / 429.8 MB, free: 5.945 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.2916, allocations: 3.938 kB / 429.8 MB, free: 5.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002325/0.2939, allocations: 0.6658 MB / 430.5 MB, free: 5.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.847e-05/0.294, allocations: 110.8 kB / 430.6 MB, free: 5.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003393/0.2943, allocations: 294.6 kB / 430.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2944, allocations: 25.7 kB / 430.9 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.2945, allocations: 204.1 kB / 431.1 MB, free: 4.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.493e-05/0.2946, allocations: 47.58 kB / 431.2 MB, free: 4.539 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.2947, allocations: 49.94 kB / 431.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2948, allocations: 334.8 kB / 431.5 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/0.2952, allocations: 112.2 kB / 431.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004222/0.2956, allocations: 210.7 kB / 431.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.2963, allocations: 323.5 kB / 432.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2963, allocations: 0 / 432.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001266/0.2976, allocations: 483.7 kB / 432.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/0.2976, allocations: 37.69 kB / 432.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2976, allocations: 0 / 432.7 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003852/0.298, allocations: 92.86 kB / 432.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.2982, allocations: 43.91 kB / 432.8 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/0.3012, allocations: 2.06 MB / 434.9 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.3016, allocations: 51.88 kB / 434.9 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3016, allocations: 16.22 kB / 434.9 MB, free: 0.4922 MB / 334.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.000173/0.3018, allocations: 157.6 kB / 435.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.3018, allocations: 35.73 kB / 435.1 MB, free: 300 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.743e-05/0.3019, allocations: 17.84 kB / 435.1 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3019, allocations: 4 kB / 435.1 MB, free: 272 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.3019, allocations: 8.125 kB / 435.2 MB, free: 264 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3019, allocations: 3.984 kB / 435.2 MB, free: 260 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003445/0.3022, allocations: 329.4 kB / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.3022, allocations: 0 / 435.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000143/0.3024, allocations: 27.97 kB / 435.5 MB, free: 15.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000278/0.3026, allocations: 80.8 kB / 435.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3027, allocations: 0 / 435.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002617/0.3053, allocations: 1.974 MB / 437.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3053, allocations: 4 kB / 437.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3063, allocations: 369.6 kB / 437.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.3064, allocations: 105 kB / 438 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.499e-05/0.3065, allocations: 0 / 438 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002527/0.3067, allocations: 44.03 kB / 438.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.679e-05/0.3068, allocations: 19.97 kB / 438.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.3068, allocations: 4 kB / 438.1 MB, free: 13.08 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000224/0.307, allocations: 202 kB / 438.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.307, allocations: 0 / 438.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.3075, allocations: 79.84 kB / 438.4 MB, free: 12.81 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.0001418/0.3076, allocations: 107.2 kB / 438.5 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3089, allocations: 0.4896 MB / 439 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3089, allocations: 4 kB / 439 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005093/0.3094, allocations: 231.2 kB / 439.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3098, allocations: 44.48 kB / 439.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.3128, allocations: 0.9559 MB / 440.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3132, allocations: 0.7558 MB / 440.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.3133, allocations: 26.28 kB / 441 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.056e-05/0.3133, allocations: 23.44 kB / 441 MB, free: 10.08 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3133, allocations: 0 / 441 MB, free: 10.08 MB / 350.1 MB Notification: Performance of Templates: time 0.008716/0.322, allocations: 4.246 MB / 445.2 MB, free: 5.879 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.makefile [Timeout 660] (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) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.536070374771953]