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.001299/0.001299, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001821/0.00312, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 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.00111/0.00111, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001562/0.002673, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9718/0.9718, allocations: 173.3 MB / 185.8 MB, free: 9 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1004/1.072, allocations: 52.5 MB / 238.3 MB, free: 4.434 MB / 234.7 MB " [Timeout remaining time 179] 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 1.993e-06/1.993e-06, allocations: 3.938 kB / 239.6 MB, free: 3.152 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.973e-05, allocations: 2.312 kB / 239.6 MB, free: 3.148 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier): time 0.004059/0.004078, allocations: 2.968 MB / 242.6 MB, free: 172 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001427/0.005506, allocations: 0.7321 MB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001803/0.005686, allocations: 4 kB / 243.3 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.005829, allocations: 55.5 kB / 243.3 MB, free: 15.37 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.006071, allocations: 111.1 kB / 243.5 MB, free: 15.26 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.006345, allocations: 115.8 kB / 243.6 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.006838, allocations: 430.2 kB / 244 MB, free: 14.73 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001943/0.007032, allocations: 90.22 kB / 244.1 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003813/0.007413, allocations: 283.8 kB / 244.3 MB, free: 14.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002184/0.007632, allocations: 135.7 kB / 244.5 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.805e-05/0.0077, allocations: 40 kB / 244.5 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.049e-05/0.00776, allocations: 43.94 kB / 244.6 MB, free: 14.14 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.007823, allocations: 59.81 kB / 244.6 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.007944, allocations: 95.88 kB / 244.7 MB, free: 13.99 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.008284, allocations: 243.1 kB / 245 MB, free: 13.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.645e-05/0.0083, allocations: 0 / 245 MB, free: 13.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008302, allocations: 0 / 245 MB, free: 13.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.085e-05/0.008322, allocations: 0 / 245 MB, free: 13.75 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.00116/0.009482, allocations: 0.6153 MB / 245.6 MB, free: 13.1 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.009519, allocations: 11.98 kB / 245.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.645e-05/0.009606, allocations: 44.89 kB / 245.6 MB, free: 13.04 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.009928, allocations: 197.2 kB / 245.8 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.009951, allocations: 16.88 kB / 245.8 MB, free: 12.81 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.693e-05/0.009988, allocations: 28.38 kB / 245.9 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004181/0.01041, allocations: 295.3 kB / 246.1 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.01042, allocations: 4.125 kB / 246.2 MB, free: 12.46 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.01044, allocations: 8.375 kB / 246.2 MB, free: 12.45 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.01045, allocations: 11.94 kB / 246.2 MB, free: 12.44 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.0106, allocations: 63.47 kB / 246.2 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001317/0.01192, allocations: 0.7912 MB / 247 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002826/0.0122, allocations: 114.3 kB / 247.1 MB, free: 11.42 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.328e-05/0.01226, allocations: 24.86 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/0.01228, allocations: 4 kB / 247.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002134/0.0125, allocations: 161.2 kB / 247.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.643e-06/0.0125, allocations: 4 kB / 247.3 MB, free: 11.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008032/0.0133, allocations: 266.2 kB / 247.6 MB, free: 10.93 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.01334, allocations: 55.39 kB / 247.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.01355, allocations: 244.9 kB / 247.9 MB, free: 10.6 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.986e-05/0.01358, allocations: 33.69 kB / 247.9 MB, free: 10.56 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.01369, allocations: 191.9 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.01373, allocations: 51.56 kB / 248.2 MB, free: 10.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/0.0138, allocations: 49.88 kB / 248.2 MB, free: 10.26 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.01391, allocations: 338.8 kB / 248.5 MB, free: 9.922 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.358e-05/0.01397, allocations: 49.92 kB / 248.6 MB, free: 9.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.01411, allocations: 210.4 kB / 248.8 MB, free: 9.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001766/0.01429, allocations: 183.3 kB / 249 MB, free: 9.375 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01429, allocations: 0 / 249 MB, free: 9.375 MB / 250.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003774/0.01467, allocations: 269.8 kB / 249.2 MB, free: 9.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.864e-05/0.01472, allocations: 37.69 kB / 249.3 MB, free: 9.047 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.01473, allocations: 4 kB / 249.3 MB, free: 9.043 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.01505, allocations: 72.88 kB / 249.3 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.0152, allocations: 55.91 kB / 249.4 MB, free: 8.914 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.01661, allocations: 1.492 MB / 250.9 MB, free: 7.332 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.0168, allocations: 39.83 kB / 250.9 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.01682, allocations: 8 kB / 250.9 MB, free: 7.285 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 0.0001169/0.01694, allocations: 137.8 kB / 251.1 MB, free: 7.141 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.878e-05/0.01697, allocations: 15.98 kB / 251.1 MB, free: 7.125 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.134e-05/0.01701, allocations: 29.7 kB / 251.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.01701, allocations: 0 / 251.1 MB, free: 7.102 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01701, allocations: 4 kB / 251.1 MB, free: 7.098 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.01702, allocations: 3.984 kB / 251.1 MB, free: 7.094 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.01719, allocations: 142 kB / 251.3 MB, free: 6.938 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01719, allocations: 4.125 kB / 251.3 MB, free: 6.934 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.74e-05/0.01727, allocations: 27.86 kB / 251.3 MB, free: 6.906 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.291e-05/0.0173, allocations: 15.86 kB / 251.3 MB, free: 6.891 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002352/0.01754, allocations: 80.78 kB / 251.4 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.01755, allocations: 0 / 251.4 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.01862, allocations: 1.434 MB / 252.8 MB, free: 5.289 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01863, allocations: 3.984 kB / 252.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.0189, allocations: 169 kB / 253 MB, free: 5.102 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.251e-05/0.01893, allocations: 4 kB / 253 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.01905, allocations: 24.05 kB / 253 MB, free: 5.074 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.01912, allocations: 23.95 kB / 253 MB, free: 5.051 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.748e-06/0.01913, allocations: 4 kB / 253 MB, free: 5.047 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.01923, allocations: 86.77 kB / 253.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01923, allocations: 0 / 253.1 MB, free: 4.965 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003907/0.01962, allocations: 83.83 kB / 253.2 MB, free: 4.883 MB / 250.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.0001257/0.01975, allocations: 92.42 kB / 253.3 MB, free: 4.785 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004961/0.02024, allocations: 352.4 kB / 253.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.136e-05/0.02025, allocations: 4 kB / 253.6 MB, free: 4.406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.02043, allocations: 171.5 kB / 253.8 MB, free: 4.223 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002305/0.02066, allocations: 56.47 kB / 253.9 MB, free: 4.168 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.02366, allocations: 0.7156 MB / 254.6 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.915e-05/0.02372, allocations: 84.31 kB / 254.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.02383, allocations: 22.3 kB / 254.7 MB, free: 3.297 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.024, allocations: 99.34 kB / 254.8 MB, free: 3.199 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.024, allocations: 4 kB / 254.8 MB, free: 3.195 MB / 250.7 MB Notification: Performance of Templates: time 0.008564/0.03256, allocations: 4.473 MB / 259.3 MB, free: 14.8 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmplifier.pipe 2>&1) [Timeout 240] 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","",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.644991065375507]