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.001128/0.001128, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00179/0.002918, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001096/0.001096, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001551/0.002647, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.041/1.041, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09234/1.134, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.232e-06/1.232e-06, allocations: 0 / 244.7 MB, free: 14.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.162e-05, allocations: 5.828 kB / 244.8 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003169/0.00319, allocations: 2.975 MB / 247.7 MB, free: 11.18 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.004482, allocations: 0.7826 MB / 248.5 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.004649, allocations: 11.94 kB / 248.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.004754, allocations: 43.56 kB / 248.6 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001786/0.004932, allocations: 107.1 kB / 248.7 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.005173, allocations: 127.7 kB / 248.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.005672, allocations: 422.2 kB / 249.2 MB, free: 9.691 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.005876, allocations: 90.28 kB / 249.3 MB, free: 9.602 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.006315, allocations: 272 kB / 249.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.006538, allocations: 135.6 kB / 249.7 MB, free: 9.203 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.721e-05/0.006605, allocations: 40 kB / 249.7 MB, free: 9.164 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.473e-05/0.00667, allocations: 48 kB / 249.8 MB, free: 9.117 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.451e-05/0.006734, allocations: 55.81 kB / 249.8 MB, free: 9.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001246/0.006859, allocations: 103.8 kB / 249.9 MB, free: 8.961 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003589/0.007218, allocations: 239.1 kB / 250.2 MB, free: 8.727 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238e-05/0.00723, allocations: 0 / 250.2 MB, free: 8.727 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007231, allocations: 4 kB / 250.2 MB, free: 8.723 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.007244, allocations: 0 / 250.2 MB, free: 8.723 MB / 250.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.0008643/0.008108, allocations: 0.6192 MB / 250.8 MB, free: 8.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.00814, allocations: 8.031 kB / 250.8 MB, free: 8.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.939e-05/0.00821, allocations: 44.91 kB / 250.8 MB, free: 8.02 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.008448, allocations: 201.2 kB / 251 MB, free: 7.797 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.008465, allocations: 20.88 kB / 251.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.768e-05/0.008493, allocations: 24.38 kB / 251.1 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.008808, allocations: 295.3 kB / 251.4 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.008817, allocations: 192 / 251.4 MB, free: 7.441 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.008837, allocations: 8.375 kB / 251.4 MB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.008845, allocations: 7.938 kB / 251.4 MB, free: 7.426 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.526e-05/0.00894, allocations: 67.47 kB / 251.5 MB, free: 7.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.009969, allocations: 0.7951 MB / 252.2 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002107/0.01018, allocations: 98.45 kB / 252.3 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.187e-05/0.01022, allocations: 37 kB / 252.4 MB, free: 6.367 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.01025, allocations: 4 kB / 252.4 MB, free: 6.363 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002014/0.01045, allocations: 165.2 kB / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.083e-06/0.01045, allocations: 0 / 252.5 MB, free: 6.168 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006336/0.01108, allocations: 273.1 kB / 252.8 MB, free: 5.895 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.01112, allocations: 55.39 kB / 252.9 MB, free: 5.828 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.01128, allocations: 240.9 kB / 253.1 MB, free: 5.582 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.01131, allocations: 33.7 kB / 253.1 MB, free: 5.543 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.0114, allocations: 195.9 kB / 253.3 MB, free: 5.344 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.872e-05/0.01143, allocations: 43.67 kB / 253.4 MB, free: 5.301 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-05/0.0115, allocations: 53.88 kB / 253.4 MB, free: 5.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004872/0.01199, allocations: 334.8 kB / 253.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.01206, allocations: 53.92 kB / 253.8 MB, free: 4.844 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001215/0.01218, allocations: 202.3 kB / 254 MB, free: 4.582 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001591/0.01234, allocations: 191 kB / 254.2 MB, free: 4.352 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01234, allocations: 4 kB / 254.2 MB, free: 4.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003123/0.01265, allocations: 269.7 kB / 254.5 MB, free: 4.062 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.01269, allocations: 37.77 kB / 254.5 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.0127, allocations: 4 kB / 254.5 MB, free: 4.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002422/0.01294, allocations: 76.8 kB / 254.6 MB, free: 3.938 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.01305, allocations: 51.91 kB / 254.6 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001053/0.0141, allocations: 1.489 MB / 256.1 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.01426, allocations: 51.75 kB / 256.2 MB, free: 2.262 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.01427, allocations: 4 kB / 256.2 MB, free: 2.258 MB / 250.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 9.47e-05/0.01436, allocations: 125.8 kB / 256.3 MB, free: 2.125 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.414e-05/0.01439, allocations: 24 kB / 256.3 MB, free: 2.102 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.865e-05/0.01442, allocations: 33.75 kB / 256.3 MB, free: 2.07 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.01443, allocations: 3.984 kB / 256.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.844e-06/0.01443, allocations: 0 / 256.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.01443, allocations: 0 / 256.3 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.01456, allocations: 145.8 kB / 256.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01456, allocations: 0 / 256.5 MB, free: 1.906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.112e-05/0.01461, allocations: 19.92 kB / 256.5 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.552e-05/0.01464, allocations: 27.78 kB / 256.5 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001834/0.01482, allocations: 76.75 kB / 256.6 MB, free: 1.781 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/0.01483, allocations: 4 kB / 256.6 MB, free: 1.777 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000927/0.01576, allocations: 1.446 MB / 258.1 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01576, allocations: 0 / 258.1 MB, free: 256 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/0.01597, allocations: 165.8 kB / 258.2 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.149e-05/0.01599, allocations: 8.031 kB / 258.2 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.813e-05/0.01607, allocations: 27.91 kB / 258.3 MB, free: 32 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.616e-05/0.01611, allocations: 15.97 kB / 258.3 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.01612, allocations: 4 kB / 258.3 MB, free: 12 kB / 250.7 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.01622, allocations: 82.77 kB / 258.4 MB, free: 15.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01622, allocations: 4 kB / 258.4 MB, free: 15.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002837/0.0165, allocations: 79.84 kB / 258.4 MB, free: 15.84 MB / 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.0001235/0.01663, allocations: 88.41 kB / 258.5 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003978/0.01702, allocations: 344.3 kB / 258.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/0.01704, allocations: 4 kB / 258.9 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000141/0.01718, allocations: 183.6 kB / 259 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.01749, allocations: 470 kB / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.01956, allocations: 0.7158 MB / 260.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.184e-05/0.01961, allocations: 92.03 kB / 260.3 MB, free: 13.79 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.241e-05/0.01969, allocations: 30.27 kB / 260.3 MB, free: 13.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/0.01983, allocations: 99.33 kB / 260.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01983, allocations: 0 / 260.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of Templates: time 0.006705/0.02654, allocations: 4.529 MB / 265 MB, free: 9.199 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6078546037897468]