Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001055/0.001055, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00162/0.002675, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008882/0.0008882, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00113/0.002019, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9409/0.9409, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1468/1.088, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.486e-05, allocations: 5.406 kB / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.002856/0.002871, allocations: 3.161 MB / 225.2 MB, free: 12.87 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001238/0.00411, allocations: 1.01 MB / 226.2 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.004225, allocations: 7.938 kB / 226.2 MB, free: 11.84 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/0.004322, allocations: 55.42 kB / 226.2 MB, free: 11.79 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.004544, allocations: 138.7 kB / 226.4 MB, free: 11.65 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.00477, allocations: 147.5 kB / 226.5 MB, free: 11.51 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003639/0.005134, allocations: 0.4938 MB / 227 MB, free: 11.01 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001511/0.005285, allocations: 92.34 kB / 227.1 MB, free: 10.92 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003047/0.00559, allocations: 330.5 kB / 227.4 MB, free: 10.59 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.00574, allocations: 151.5 kB / 227.6 MB, free: 10.45 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.476e-05/0.005784, allocations: 40 kB / 227.6 MB, free: 10.41 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.005919, allocations: 75.97 kB / 227.7 MB, free: 10.33 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.005965, allocations: 67.75 kB / 227.7 MB, free: 10.27 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.853e-05/0.006053, allocations: 119.8 kB / 227.9 MB, free: 10.15 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005649/0.006618, allocations: 318.8 kB / 228.2 MB, free: 9.836 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.006629, allocations: 0 / 228.2 MB, free: 9.836 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.00663, allocations: 7.984 kB / 228.2 MB, free: 9.828 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.00664, allocations: 3.938 kB / 228.2 MB, free: 9.824 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0008462/0.007487, allocations: 0.7215 MB / 228.9 MB, free: 9.078 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.007521, allocations: 8.031 kB / 228.9 MB, free: 9.07 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.584e-05/0.007606, allocations: 56.89 kB / 229 MB, free: 9.016 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.007858, allocations: 216.5 kB / 229.2 MB, free: 8.781 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.007881, allocations: 29.03 kB / 229.2 MB, free: 8.754 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.719e-05/0.007928, allocations: 36.38 kB / 229.2 MB, free: 8.719 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.00831, allocations: 373 kB / 229.6 MB, free: 8.312 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.00832, allocations: 4.188 kB / 229.6 MB, free: 8.309 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.036e-05/0.00834, allocations: 12.36 kB / 229.6 MB, free: 8.297 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.008349, allocations: 15.94 kB / 229.6 MB, free: 8.281 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.008465, allocations: 80.55 kB / 229.7 MB, free: 8.207 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.00947, allocations: 0.8191 MB / 230.5 MB, free: 7.34 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.009708, allocations: 163.1 kB / 230.7 MB, free: 7.172 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001842/0.009892, allocations: 141.2 kB / 230.8 MB, free: 7.031 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.01003, allocations: 68.16 kB / 230.9 MB, free: 6.965 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.01006, allocations: 34.8 kB / 230.9 MB, free: 6.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=27): time 1.442e-06/0.01006, allocations: 4 kB / 230.9 MB, free: 6.918 MB / 234.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005058/0.01057, allocations: 264.1 kB / 231.2 MB, free: 6.652 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.647e-05/0.01059, allocations: 55.41 kB / 231.3 MB, free: 6.586 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.01075, allocations: 270.9 kB / 231.5 MB, free: 6.309 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.204e-05/0.01077, allocations: 41.69 kB / 231.6 MB, free: 6.262 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.072e-05/0.01085, allocations: 192.8 kB / 231.7 MB, free: 6.066 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.247e-05/0.0109, allocations: 111.1 kB / 231.9 MB, free: 5.957 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.957e-05/0.01097, allocations: 66 kB / 231.9 MB, free: 5.883 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.641e-05/0.01106, allocations: 350.7 kB / 232.3 MB, free: 5.531 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.433e-05/0.01112, allocations: 36.73 kB / 232.3 MB, free: 5.496 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.337e-05/0.01121, allocations: 143.7 kB / 232.4 MB, free: 5.32 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.01139, allocations: 183 kB / 232.6 MB, free: 5.113 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.01139, allocations: 0 / 232.6 MB, free: 5.113 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002766/0.01167, allocations: 254 kB / 232.9 MB, free: 4.855 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01168, allocations: 4 kB / 232.9 MB, free: 4.852 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.01169, allocations: 4 kB / 232.9 MB, free: 4.848 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001848/0.01187, allocations: 64.75 kB / 232.9 MB, free: 4.781 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.01212, allocations: 91.88 kB / 233 MB, free: 4.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009738/0.01309, allocations: 1.555 MB / 234.6 MB, free: 3.051 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.0132, allocations: 31.73 kB / 234.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.01321, allocations: 15.94 kB / 234.6 MB, free: 3.004 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.796e-05/0.0133, allocations: 129.8 kB / 234.8 MB, free: 2.867 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.01334, allocations: 23.97 kB / 234.8 MB, free: 2.844 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002153/0.01355, allocations: 194.3 kB / 235 MB, free: 2.648 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01355, allocations: 8.031 kB / 235 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.62e-07/0.01356, allocations: 0 / 235 MB, free: 2.641 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.01356, allocations: 3.984 kB / 235 MB, free: 2.637 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000631/0.01419, allocations: 193.6 kB / 235.2 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01419, allocations: 0 / 235.2 MB, free: 2.43 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002071/0.0144, allocations: 71.88 kB / 235.2 MB, free: 2.359 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.01445, allocations: 39.73 kB / 235.3 MB, free: 2.32 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001205/0.01457, allocations: 129.9 kB / 235.4 MB, free: 2.172 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.01459, allocations: 8 kB / 235.4 MB, free: 2.164 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002218/0.01481, allocations: 0.5562 MB / 236 MB, free: 1.582 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01481, allocations: 3.938 kB / 236 MB, free: 1.578 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.01508, allocations: 320.9 kB / 236.3 MB, free: 1.246 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.01511, allocations: 11.94 kB / 236.3 MB, free: 1.234 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01521, allocations: 20.02 kB / 236.3 MB, free: 1.215 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.01525, allocations: 19.97 kB / 236.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.328e-06/0.01526, allocations: 0 / 236.3 MB, free: 1.195 MB / 234.7 MB Notification: Performance of sorting global known variables: time 7.797e-05/0.01534, allocations: 100.6 kB / 236.4 MB, free: 1.094 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01534, allocations: 3.938 kB / 236.4 MB, free: 1.09 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0002692/0.0156, allocations: 115.8 kB / 236.6 MB, free: 0.9766 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001543/0.01576, allocations: 116.2 kB / 236.7 MB, free: 0.8516 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003524/0.01611, allocations: 298.4 kB / 237 MB, free: 0.5469 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.01612, allocations: 8 kB / 237 MB, free: 0.5391 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001318/0.01625, allocations: 112.5 kB / 237.1 MB, free: 436 kB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01653, allocations: 365.2 kB / 237.4 MB, free: 8 kB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002197/0.01872, allocations: 0.63 MB / 238.1 MB, free: 15.35 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.535e-05/0.01878, allocations: 104.5 kB / 238.2 MB, free: 15.23 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.797e-05/0.01887, allocations: 34.97 kB / 238.2 MB, free: 15.19 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.019, allocations: 111.3 kB / 238.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.019, allocations: 0 / 238.3 MB, free: 15.08 MB / 250.7 MB Notification: Performance of Templates: time 0.007236/0.02623, allocations: 4.33 MB / 242.6 MB, free: 10.77 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.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.8605487449094653]