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.001026/0.001026, allocations: 84.98 kB / 23 MB, free: 1.5 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.001212/0.001212, allocations: 180.2 kB / 26.4 MB, free: 7.961 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 0.8895/0.8895, allocations: 158.6 MB / 188.3 MB, free: 2.773 MB / 170.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.313e-06/1.313e-06, allocations: 0 / 252.3 MB, free: 7.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.128e-05/2.259e-05, allocations: 6.312 kB / 252.3 MB, free: 7.23 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003382/0.003405, allocations: 3.114 MB / 255.4 MB, free: 4.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.004711, allocations: 0.9671 MB / 256.3 MB, free: 3.117 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.004857, allocations: 8 kB / 256.3 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.00501, allocations: 63.3 kB / 256.4 MB, free: 3.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000277/0.005287, allocations: 130.9 kB / 256.5 MB, free: 2.918 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/0.005548, allocations: 151.5 kB / 256.7 MB, free: 2.77 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003714/0.005919, allocations: 0.4976 MB / 257.2 MB, free: 2.27 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.006097, allocations: 95.48 kB / 257.3 MB, free: 2.176 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002824/0.006379, allocations: 283.4 kB / 257.6 MB, free: 1.898 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001733/0.006553, allocations: 151.5 kB / 257.7 MB, free: 1.75 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 9.292e-05/0.006646, allocations: 43.94 kB / 257.7 MB, free: 1.707 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.006777, allocations: 75.91 kB / 257.8 MB, free: 1.633 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.085e-05/0.006838, allocations: 91.66 kB / 257.9 MB, free: 1.539 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001022/0.00694, allocations: 151.6 kB / 258.1 MB, free: 1.391 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003245/0.007264, allocations: 346.8 kB / 258.4 MB, free: 1.051 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.007267, allocations: 3.938 kB / 258.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007268, allocations: 0 / 258.4 MB, free: 1.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.007273, allocations: 4 kB / 258.4 MB, free: 1.043 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.0008857/0.008159, allocations: 0.7683 MB / 259.2 MB, free: 240 kB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.008199, allocations: 15.98 kB / 259.2 MB, free: 224 kB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.082e-05/0.008289, allocations: 68.66 kB / 259.3 MB, free: 156 kB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002906/0.00858, allocations: 259.3 kB / 259.5 MB, free: 15.87 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.008604, allocations: 25.03 kB / 259.5 MB, free: 15.85 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.159e-05/0.008655, allocations: 36.38 kB / 259.6 MB, free: 15.81 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00039/0.009045, allocations: 370.7 kB / 259.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.009059, allocations: 4.172 kB / 259.9 MB, free: 15.41 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.009082, allocations: 16.38 kB / 259.9 MB, free: 15.39 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.009093, allocations: 11.94 kB / 260 MB, free: 15.38 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001364/0.009229, allocations: 100.5 kB / 260.1 MB, free: 15.28 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001167/0.0104, allocations: 0.9997 MB / 261.1 MB, free: 14.21 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002883/0.01068, allocations: 180.1 kB / 261.2 MB, free: 14.03 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.01089, allocations: 152 kB / 261.4 MB, free: 13.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001471/0.01104, allocations: 60.17 kB / 261.4 MB, free: 13.82 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.01106, allocations: 37.62 kB / 261.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of pre-optimization done (n=27): time 1.894e-06/0.01107, allocations: 0 / 261.5 MB, free: 13.77 MB / 250.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005868/0.01165, allocations: 322.8 kB / 261.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.01171, allocations: 81.11 kB / 261.9 MB, free: 13.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.0119, allocations: 334 kB / 262.2 MB, free: 13.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.01193, allocations: 33.7 kB / 262.2 MB, free: 12.97 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.01209, allocations: 271 kB / 262.5 MB, free: 12.7 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.298e-05/0.01214, allocations: 107.1 kB / 262.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.627e-05/0.01222, allocations: 75.69 kB / 262.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002378/0.01246, allocations: 0.5157 MB / 263.2 MB, free: 11.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.331e-05/0.01253, allocations: 48.64 kB / 263.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.01266, allocations: 168 kB / 263.4 MB, free: 11.72 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.01285, allocations: 204.5 kB / 263.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01286, allocations: 0 / 263.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003427/0.0132, allocations: 316.6 kB / 263.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.01322, allocations: 4 kB / 263.9 MB, free: 11.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.01322, allocations: 7.984 kB / 263.9 MB, free: 11.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.01341, allocations: 71.56 kB / 264 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.01357, allocations: 71.91 kB / 264.1 MB, free: 11 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.01493, allocations: 2.228 MB / 266.3 MB, free: 8.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001151/0.01504, allocations: 39.77 kB / 266.3 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.01506, allocations: 12 kB / 266.3 MB, free: 8.609 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.000114/0.01517, allocations: 180.4 kB / 266.5 MB, free: 8.422 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.002e-05/0.01522, allocations: 39.81 kB / 266.6 MB, free: 8.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.0155, allocations: 229.1 kB / 266.8 MB, free: 8.148 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.01551, allocations: 4 kB / 266.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.01551, allocations: 0 / 266.8 MB, free: 8.145 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01552, allocations: 7.984 kB / 266.8 MB, free: 8.137 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000205/0.01572, allocations: 221 kB / 267 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.01572, allocations: 0 / 267 MB, free: 7.895 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001608/0.01588, allocations: 51.97 kB / 267.1 MB, free: 7.844 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.01601, allocations: 51.58 kB / 267.1 MB, free: 7.789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.01603, allocations: 8 kB / 267.1 MB, free: 7.781 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003212/0.01635, allocations: 0.8507 MB / 268 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01635, allocations: 0 / 268 MB, free: 6.898 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.01671, allocations: 419.6 kB / 268.4 MB, free: 6.465 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.01678, allocations: 47.72 kB / 268.4 MB, free: 6.418 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.772e-05/0.01681, allocations: 8 kB / 268.4 MB, free: 6.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.01692, allocations: 15.98 kB / 268.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.01696, allocations: 23.91 kB / 268.5 MB, free: 6.371 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.01697, allocations: 12.02 kB / 268.5 MB, free: 6.359 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.01752, allocations: 214.9 kB / 268.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01752, allocations: 0 / 268.7 MB, free: 6.152 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.01782, allocations: 115.8 kB / 268.8 MB, free: 6.039 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.0001625/0.01798, allocations: 134.8 kB / 268.9 MB, free: 5.902 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004083/0.01839, allocations: 372.9 kB / 269.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01839, allocations: 0 / 269.3 MB, free: 5.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01852, allocations: 99.45 kB / 269.4 MB, free: 5.418 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.01875, allocations: 36.64 kB / 269.4 MB, free: 5.383 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.01976, allocations: 0.749 MB / 270.2 MB, free: 4.598 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.827e-05/0.01982, allocations: 100.6 kB / 270.3 MB, free: 4.48 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.728e-05/0.0199, allocations: 38.89 kB / 270.3 MB, free: 4.445 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.02003, allocations: 122.2 kB / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.02003, allocations: 0 / 270.4 MB, free: 4.324 MB / 250.7 MB Notification: Performance of Templates: time 0.006155/0.02619, allocations: 3.968 MB / 274.4 MB, free: 404 kB / 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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8470292016863823]