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.001116/0.001116, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001187/0.002303, allocations: 449.7 kB / 10.37 MB, free: 328 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.001534/0.001534, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.003016, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1085/1.11, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.342e-06/1.342e-06, allocations: 0 / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.001e-05, allocations: 2.312 kB / 244.6 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.003053/0.003073, allocations: 2.99 MB / 247.5 MB, free: 11.28 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00093/0.004003, allocations: 0.7671 MB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.004109, allocations: 7.938 kB / 248.3 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.368e-05/0.004202, allocations: 47.56 kB / 248.4 MB, free: 10.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.00434, allocations: 115 kB / 248.5 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.004518, allocations: 119.8 kB / 248.6 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003158/0.004834, allocations: 434.2 kB / 249 MB, free: 9.793 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.004978, allocations: 90.3 kB / 249.1 MB, free: 9.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.005214, allocations: 272.1 kB / 249.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.005353, allocations: 131.6 kB / 249.5 MB, free: 9.305 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.005397, allocations: 40 kB / 249.5 MB, free: 9.266 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.629e-05/0.005433, allocations: 40 kB / 249.6 MB, free: 9.227 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.581e-05/0.005479, allocations: 59.81 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.048e-05/0.00557, allocations: 99.81 kB / 249.7 MB, free: 9.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002299/0.005799, allocations: 243.1 kB / 250 MB, free: 8.832 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.412e-05/0.005814, allocations: 0 / 250 MB, free: 8.832 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005815, allocations: 0 / 250 MB, free: 8.832 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.005829, allocations: 4 kB / 250 MB, free: 8.828 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.0007629/0.006592, allocations: 0.6231 MB / 250.6 MB, free: 8.172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.006619, allocations: 8.031 kB / 250.6 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.983e-05/0.006679, allocations: 44.91 kB / 250.7 MB, free: 8.121 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.006886, allocations: 193.3 kB / 250.8 MB, free: 7.906 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.616e-05/0.006902, allocations: 20.88 kB / 250.9 MB, free: 7.887 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.692e-05/0.006929, allocations: 28.31 kB / 250.9 MB, free: 7.859 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.007219, allocations: 295.3 kB / 251.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.007229, allocations: 192 / 251.2 MB, free: 7.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.007245, allocations: 12.38 kB / 251.2 MB, free: 7.531 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.007253, allocations: 7.938 kB / 251.2 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.007347, allocations: 63.47 kB / 251.3 MB, free: 7.465 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008044/0.008151, allocations: 0.7951 MB / 252.1 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.008318, allocations: 98.41 kB / 252.2 MB, free: 6.516 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.456e-05/0.008352, allocations: 28.84 kB / 252.2 MB, free: 6.484 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.008372, allocations: 4 kB / 252.2 MB, free: 6.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.008526, allocations: 168.9 kB / 252.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 9.12e-07/0.008527, allocations: 0 / 252.4 MB, free: 6.285 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005152/0.009042, allocations: 266.2 kB / 252.6 MB, free: 6.016 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.009069, allocations: 55.39 kB / 252.7 MB, free: 5.949 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.009201, allocations: 244.9 kB / 252.9 MB, free: 5.695 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.009218, allocations: 33.7 kB / 252.9 MB, free: 5.656 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.573e-05/0.009293, allocations: 195.9 kB / 253.1 MB, free: 5.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.009317, allocations: 43.67 kB / 253.2 MB, free: 5.414 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.303e-05/0.00937, allocations: 53.88 kB / 253.2 MB, free: 5.352 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.017e-05/0.009451, allocations: 338.8 kB / 253.6 MB, free: 5.012 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.862e-05/0.009499, allocations: 61.86 kB / 253.6 MB, free: 4.945 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.412e-05/0.009593, allocations: 194.4 kB / 253.8 MB, free: 4.691 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.009717, allocations: 184.1 kB / 254 MB, free: 4.469 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.00972, allocations: 0 / 254 MB, free: 4.469 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002576/0.009977, allocations: 273.6 kB / 254.3 MB, free: 4.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/0.01001, allocations: 37.91 kB / 254.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.01001, allocations: 4 kB / 254.3 MB, free: 4.133 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.01022, allocations: 76.84 kB / 254.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.01033, allocations: 55.89 kB / 254.4 MB, free: 4 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008876/0.01121, allocations: 1.489 MB / 255.9 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.01134, allocations: 51.8 kB / 256 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.01135, allocations: 12 kB / 256 MB, free: 2.367 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 8.047e-05/0.01143, allocations: 129.1 kB / 256.1 MB, free: 2.234 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.01145, allocations: 19.98 kB / 256.1 MB, free: 2.215 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.366e-05/0.01148, allocations: 29.64 kB / 256.1 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-06/0.01148, allocations: 4 kB / 256.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-06/0.01148, allocations: 0 / 256.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01148, allocations: 0 / 256.2 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.01158, allocations: 145.8 kB / 256.3 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.01158, allocations: 0 / 256.3 MB, free: 2.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.425e-05/0.01163, allocations: 23.98 kB / 256.3 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.01165, allocations: 23.8 kB / 256.3 MB, free: 1.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001501/0.0118, allocations: 72.78 kB / 256.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.01181, allocations: 0 / 256.4 MB, free: 1.902 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007255/0.01254, allocations: 1.446 MB / 257.9 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.01254, allocations: 0 / 257.9 MB, free: 384 kB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.01272, allocations: 177.8 kB / 258 MB, free: 184 kB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.904e-05/0.01274, allocations: 4 kB / 258 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.696e-05/0.01281, allocations: 23.92 kB / 258.1 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.01285, allocations: 15.97 kB / 258.1 MB, free: 140 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.01286, allocations: 7.984 kB / 258.1 MB, free: 132 kB / 250.7 MB Notification: Performance of sorting global known variables: time 5.546e-05/0.01292, allocations: 82.78 kB / 258.2 MB, free: 48 kB / 250.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.01292, allocations: 0 / 258.2 MB, free: 48 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002329/0.01315, allocations: 83.89 kB / 258.2 MB, free: 15.96 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.0001145/0.01326, allocations: 84.36 kB / 258.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.0136, allocations: 343.5 kB / 258.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/0.01361, allocations: 4 kB / 258.7 MB, free: 15.5 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001236/0.01373, allocations: 183.1 kB / 258.8 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.01393, allocations: 71.69 kB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002756/0.01669, allocations: 0.7082 MB / 259.6 MB, free: 14.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.44e-05/0.01674, allocations: 92.03 kB / 259.7 MB, free: 14.39 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001052/0.01685, allocations: 30.31 kB / 259.7 MB, free: 14.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/0.01698, allocations: 99.28 kB / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01698, allocations: 0 / 259.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of Templates: time 0.006524/0.02351, allocations: 4.472 MB / 264.3 MB, free: 9.863 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.61911191791296]