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.00243/0.00243, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 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.002631/0.002631, allocations: 162.9 kB / 25.02 MB, free: 8.934 MB / 18.57 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 1.389/1.389, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 MB " [Timeout remaining time 178] 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.563e-06/1.563e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.323e-05/3.48e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.006153/0.006188, allocations: 3.118 MB / 253.5 MB, free: 4.691 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002407/0.008595, allocations: 0.971 MB / 254.5 MB, free: 3.707 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.008961, allocations: 4 kB / 254.5 MB, free: 3.703 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.009225, allocations: 63.34 kB / 254.5 MB, free: 3.641 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.009814, allocations: 130.8 kB / 254.6 MB, free: 3.512 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004894/0.0103, allocations: 159.5 kB / 254.8 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.000794/0.0111, allocations: 0.4898 MB / 255.3 MB, free: 2.863 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002602/0.01136, allocations: 95.45 kB / 255.4 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006153/0.01197, allocations: 283.4 kB / 255.7 MB, free: 2.492 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003392/0.01231, allocations: 151.5 kB / 255.8 MB, free: 2.344 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.853e-05/0.01241, allocations: 40 kB / 255.9 MB, free: 2.305 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002205/0.01263, allocations: 71.97 kB / 255.9 MB, free: 2.234 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.0128, allocations: 99.58 kB / 256 MB, free: 2.137 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.01303, allocations: 151.7 kB / 256.2 MB, free: 1.988 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008482/0.01388, allocations: 0.51 MB / 256.7 MB, free: 1.477 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01388, allocations: 0 / 256.7 MB, free: 1.477 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.01388, allocations: 3.938 kB / 256.7 MB, free: 1.473 MB / 234.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.01389, allocations: 4 kB / 256.7 MB, free: 1.469 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.001669/0.01556, allocations: 0.7797 MB / 257.5 MB, free: 0.6484 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/0.01562, allocations: 15.98 kB / 257.5 MB, free: 0.6328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001515/0.01577, allocations: 72.66 kB / 257.6 MB, free: 0.5625 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.0162, allocations: 251.4 kB / 257.8 MB, free: 296 kB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.01623, allocations: 25.03 kB / 257.8 MB, free: 272 kB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.01631, allocations: 44.36 kB / 257.9 MB, free: 228 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008004/0.01711, allocations: 454.1 kB / 258.3 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.01712, allocations: 192 / 258.3 MB, free: 15.74 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.01716, allocations: 12.38 kB / 258.3 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.587e-05/0.01718, allocations: 11.94 kB / 258.3 MB, free: 15.72 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005186/0.01769, allocations: 214.5 kB / 258.5 MB, free: 15.51 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002297/0.01999, allocations: 1.129 MB / 259.7 MB, free: 14.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006581/0.02065, allocations: 248 kB / 259.9 MB, free: 14.06 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000542/0.02119, allocations: 196 kB / 260.1 MB, free: 13.87 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003145/0.02151, allocations: 68.17 kB / 260.2 MB, free: 13.8 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.625e-05/0.02155, allocations: 41.62 kB / 260.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.263e-06/0.02155, allocations: 0 / 260.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.001375/0.02293, allocations: 434.7 kB / 260.6 MB, free: 13.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.023, allocations: 81.11 kB / 260.7 MB, free: 13.22 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004861/0.02348, allocations: 390.2 kB / 261.1 MB, free: 12.82 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.093e-05/0.02353, allocations: 33.7 kB / 261.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002415/0.02377, allocations: 275.1 kB / 261.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.02389, allocations: 119.1 kB / 261.5 MB, free: 12.39 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/0.02403, allocations: 75.73 kB / 261.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0003441/0.02438, allocations: 0.5274 MB / 262.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.02462, allocations: 96.66 kB / 262.2 MB, free: 11.67 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.02498, allocations: 232 kB / 262.4 MB, free: 11.39 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000574/0.02555, allocations: 312.5 kB / 262.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.165e-06/0.02556, allocations: 0 / 262.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00102/0.02658, allocations: 424.4 kB / 263.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.0266, allocations: 8 kB / 263.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.02661, allocations: 0 / 263.2 MB, free: 10.62 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003668/0.02697, allocations: 83.83 kB / 263.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003347/0.02731, allocations: 83.83 kB / 263.3 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.03002, allocations: 2.43 MB / 265.8 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.03028, allocations: 35.73 kB / 265.8 MB, free: 7.859 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.0303, allocations: 12 kB / 265.8 MB, free: 7.848 MB / 250.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 0.0002545/0.03056, allocations: 200.5 kB / 266 MB, free: 7.641 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.03064, allocations: 39.84 kB / 266 MB, free: 7.602 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007487/0.03139, allocations: 309.1 kB / 266.3 MB, free: 7.289 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.0314, allocations: 4 kB / 266.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-06/0.0314, allocations: 0 / 266.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.0314, allocations: 0 / 266.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.03192, allocations: 332.3 kB / 266.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.03192, allocations: 0 / 266.7 MB, free: 6.926 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003275/0.03225, allocations: 51.95 kB / 266.7 MB, free: 6.875 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002323/0.03248, allocations: 63.66 kB / 266.8 MB, free: 6.809 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.03251, allocations: 11.98 kB / 266.8 MB, free: 6.797 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007413/0.03325, allocations: 0.8781 MB / 267.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.03325, allocations: 0 / 267.7 MB, free: 5.887 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.03422, allocations: 0.5507 MB / 268.2 MB, free: 5.312 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/0.03436, allocations: 55.7 kB / 268.3 MB, free: 5.258 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.03441, allocations: 7.938 kB / 268.3 MB, free: 5.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002392/0.03465, allocations: 16 kB / 268.3 MB, free: 5.234 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.435e-05/0.03471, allocations: 15.95 kB / 268.3 MB, free: 5.219 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.03474, allocations: 12 kB / 268.3 MB, free: 5.207 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002921/0.03503, allocations: 263 kB / 268.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03503, allocations: 0 / 268.6 MB, free: 4.953 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0004984/0.03553, allocations: 115.7 kB / 268.7 MB, free: 4.84 MB / 250.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.0002567/0.03579, allocations: 135 kB / 268.8 MB, free: 4.699 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0009384/0.03672, allocations: 456.5 kB / 269.3 MB, free: 4.234 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.03673, allocations: 0 / 269.3 MB, free: 4.234 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.03709, allocations: 147.9 kB / 269.4 MB, free: 4.086 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003785/0.03747, allocations: 52.75 kB / 269.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.03888, allocations: 0.7635 MB / 270.2 MB, free: 3.234 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.0391, allocations: 186.5 kB / 270.4 MB, free: 3.035 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001523/0.03925, allocations: 38.95 kB / 270.5 MB, free: 2.996 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.618e-05/0.03934, allocations: 28.48 kB / 270.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.03934, allocations: 0 / 270.5 MB, free: 2.969 MB / 250.7 MB Notification: Performance of Templates: time 0.009916/0.04925, allocations: 3.633 MB / 274.1 MB, free: 15.38 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.745094954967499]