Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") translateModel(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,tolerance=2e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opAmp.q_fp1|opAmp.q_fr1|opAmp.q_fr2|opAmp.q_fr3|opAmp.v_in|opAmp.v_source|opAmp.x",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000897/0.000897, allocations: 93.47 kB / 17.31 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 175.5 kB / 18.21 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 223.3 MB / 242.3 MB, free: 248 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002316/0.0002317, allocations: 11.94 kB / 302.1 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07098/0.07122, allocations: 50.41 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.00273/0.07397, allocations: 2.877 MB / 355.4 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00142/0.0754, allocations: 0.9587 MB / 356.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001755/0.07559, allocations: 7.938 kB / 356.3 MB, free: 15.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.07573, allocations: 39.67 kB / 356.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.07608, allocations: 114.4 kB / 356.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002765/0.07636, allocations: 123.8 kB / 356.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.07678, allocations: 457.9 kB / 357 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.07699, allocations: 115.8 kB / 357.2 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000202/0.07719, allocations: 163.3 kB / 357.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002213/0.07742, allocations: 191.1 kB / 357.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.07748, allocations: 20 kB / 357.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.07761, allocations: 51.97 kB / 357.6 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.07768, allocations: 71.67 kB / 357.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.07785, allocations: 224.6 kB / 357.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.07817, allocations: 359.2 kB / 358.2 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.07818, allocations: 7.938 kB / 358.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.07819, allocations: 4 kB / 358.2 MB, free: 13.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.0782, allocations: 0 / 358.2 MB, free: 13.93 MB / 302.1 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.001125/0.07933, allocations: 0.6752 MB / 358.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.07937, allocations: 8.031 kB / 358.9 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.327e-05/0.07946, allocations: 52.38 kB / 359 MB, free: 13.15 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.07977, allocations: 303.3 kB / 359.3 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.0798, allocations: 29.03 kB / 359.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.07987, allocations: 32.38 kB / 359.3 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006352/0.08051, allocations: 357.3 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.08053, allocations: 3.938 kB / 359.7 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.08057, allocations: 16 kB / 359.7 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.08059, allocations: 8 kB / 359.7 MB, free: 12.37 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000496/0.08109, allocations: 242.5 kB / 359.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00183/0.08293, allocations: 1.182 MB / 361.1 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.0836, allocations: 291.5 kB / 361.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004954/0.0841, allocations: 214.2 kB / 361.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006768/0.08479, allocations: 1.125 MB / 362.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/0.08483, allocations: 42.78 kB / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.703e-06/0.08483, allocations: 0 / 362.8 MB, free: 8.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.001345/0.08618, allocations: 0.5444 MB / 363.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.08624, allocations: 85.05 kB / 363.4 MB, free: 8.258 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000335/0.08658, allocations: 340.3 kB / 363.7 MB, free: 7.918 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.08662, allocations: 37.64 kB / 363.8 MB, free: 7.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001293/0.08676, allocations: 212.1 kB / 364 MB, free: 7.66 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.152e-05/0.08683, allocations: 106.5 kB / 364.1 MB, free: 7.555 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.08689, allocations: 33.7 kB / 364.1 MB, free: 7.516 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.087, allocations: 354.7 kB / 364.5 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.08725, allocations: 108.7 kB / 364.6 MB, free: 7.051 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.08754, allocations: 189.8 kB / 364.8 MB, free: 6.836 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005122/0.08806, allocations: 304 kB / 365.1 MB, free: 6.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.08808, allocations: 3.984 kB / 365.1 MB, free: 6.508 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008072/0.08889, allocations: 441.4 kB / 365.5 MB, free: 6.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.08891, allocations: 4 kB / 365.5 MB, free: 6.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.08893, allocations: 8 kB / 365.5 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002387/0.08917, allocations: 72.75 kB / 365.6 MB, free: 5.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.08951, allocations: 75.89 kB / 365.6 MB, free: 5.906 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.09111, allocations: 1.752 MB / 367.4 MB, free: 4.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.09138, allocations: 43.77 kB / 367.4 MB, free: 3.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.09142, allocations: 20 kB / 367.5 MB, free: 3.961 MB / 302.1 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.0001464/0.09157, allocations: 149.7 kB / 367.6 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.384e-05/0.09164, allocations: 39.47 kB / 367.6 MB, free: 3.766 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.09236, allocations: 350.5 kB / 368 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.09238, allocations: 0 / 368 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.09239, allocations: 7.922 kB / 368 MB, free: 3.406 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.0924, allocations: 4 kB / 368 MB, free: 3.402 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004088/0.09281, allocations: 393.2 kB / 368.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.09282, allocations: 0 / 368.4 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.09318, allocations: 63.95 kB / 368.4 MB, free: 2.906 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001816/0.09337, allocations: 56.81 kB / 368.5 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.0934, allocations: 8 kB / 368.5 MB, free: 2.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003685/0.09378, allocations: 0.6147 MB / 369.1 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.09379, allocations: 4.062 kB / 369.1 MB, free: 2.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.09471, allocations: 0.5334 MB / 369.7 MB, free: 1.641 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.507e-05/0.0948, allocations: 112.7 kB / 369.8 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.671e-05/0.09485, allocations: 4 kB / 369.8 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002793/0.09514, allocations: 27.92 kB / 369.8 MB, free: 1.48 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.0952, allocations: 23.97 kB / 369.8 MB, free: 1.457 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.09522, allocations: 8 kB / 369.8 MB, free: 1.449 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.09545, allocations: 239 kB / 370.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09546, allocations: 0 / 370.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004242/0.09589, allocations: 103.8 kB / 370.2 MB, free: 1.113 MB / 302.1 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.0001577/0.09605, allocations: 138.2 kB / 370.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000786/0.09685, allocations: 434.5 kB / 370.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.09686, allocations: 0.5 kB / 370.7 MB, free: 0.5312 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.09722, allocations: 155.8 kB / 370.9 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/0.09761, allocations: 45.36 kB / 370.9 MB, free: 344 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1308/0.2284, allocations: 1.105 MB / 372 MB, free: 24.49 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002131/0.2286, allocations: 0.7878 MB / 372.8 MB, free: 23.79 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.2288, allocations: 31.23 kB / 372.8 MB, free: 23.78 MB / 302.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2288, allocations: 8.422 kB / 372.9 MB, free: 23.78 MB / 302.1 MB Notification: Performance of Templates: time 0.008407/0.2372, allocations: 5.357 MB / 378.2 MB, free: 23.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches