Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001263, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.405/1.405, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 59.91 kB / 359.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2373, allocations: 50.54 MB / 410.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004609/0.2419, allocations: 3.252 MB / 413.5 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.2437, allocations: 1.017 MB / 414.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001486/0.2439, allocations: 4 kB / 414.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001937/0.2441, allocations: 63.36 kB / 414.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003846/0.2445, allocations: 123 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.2448, allocations: 159.6 kB / 414.8 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00055/0.2454, allocations: 486 kB / 415.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002756/0.2457, allocations: 103.1 kB / 415.4 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.246, allocations: 187.3 kB / 415.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003223/0.2463, allocations: 215.1 kB / 415.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.25e-05/0.2464, allocations: 40 kB / 415.8 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.2466, allocations: 75.97 kB / 415.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001257/0.2467, allocations: 99.59 kB / 416 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002569/0.247, allocations: 211 kB / 416.2 MB, free: 11.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007243/0.2477, allocations: 0.4978 MB / 416.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.2477, allocations: 4 kB / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.2477, allocations: 0 / 416.7 MB, free: 10.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2477, allocations: 4 kB / 416.7 MB, free: 10.89 MB / 334.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.001568/0.2493, allocations: 0.7438 MB / 417.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.2493, allocations: 8.031 kB / 417.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.2496, allocations: 56.64 kB / 417.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005534/0.2501, allocations: 327.4 kB / 417.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.8e-05/0.2502, allocations: 25.02 kB / 417.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.143e-05/0.2502, allocations: 40.38 kB / 417.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007777/0.251, allocations: 357.3 kB / 418.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.251, allocations: 0 / 418.3 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.271e-05/0.2511, allocations: 12 kB / 418.3 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2511, allocations: 8 kB / 418.3 MB, free: 9.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.2516, allocations: 234.5 kB / 418.5 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002384/0.254, allocations: 1.167 MB / 419.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000772/0.2548, allocations: 271.5 kB / 419.9 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005478/0.2553, allocations: 196.4 kB / 420.1 MB, free: 7.297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009644/0.2563, allocations: 1.113 MB / 421.2 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.2563, allocations: 38.8 kB / 421.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.2563, allocations: 0 / 421.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of matching and sorting (n=27): time 0.001439/0.2578, allocations: 0.5328 MB / 421.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.2579, allocations: 81.11 kB / 421.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003927/0.2582, allocations: 337.7 kB / 422.2 MB, free: 4.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.2583, allocations: 33.7 kB / 422.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.2585, allocations: 220.5 kB / 422.5 MB, free: 4.617 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2586, allocations: 103.2 kB / 422.6 MB, free: 4.516 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.2587, allocations: 78.02 kB / 422.7 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.2589, allocations: 346.7 kB / 423 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002323/0.2591, allocations: 104.7 kB / 423.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002967/0.2594, allocations: 182 kB / 423.3 MB, free: 3.773 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005112/0.2599, allocations: 280.2 kB / 423.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.2599, allocations: 8 kB / 423.6 MB, free: 3.465 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008309/0.2607, allocations: 437 kB / 424 MB, free: 3.027 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2608, allocations: 8.25 kB / 424 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2608, allocations: 4 kB / 424 MB, free: 3.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002782/0.261, allocations: 64.81 kB / 424.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003233/0.2614, allocations: 75.89 kB / 424.1 MB, free: 2.875 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002138/0.2635, allocations: 1.963 MB / 426.1 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.2638, allocations: 43.77 kB / 426.1 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.277e-05/0.2638, allocations: 8 kB / 426.1 MB, free: 0.7227 MB / 334.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.0001948/0.264, allocations: 163 kB / 426.3 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.2641, allocations: 35.77 kB / 426.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/0.2648, allocations: 330.4 kB / 426.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.2648, allocations: 0 / 426.7 MB, free: 192 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2648, allocations: 7.938 kB / 426.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.2648, allocations: 0 / 426.7 MB, free: 184 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004951/0.2653, allocations: 397.2 kB / 427.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2653, allocations: 4 kB / 427.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003254/0.2656, allocations: 55.89 kB / 427.1 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.2658, allocations: 64.81 kB / 427.2 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.748e-05/0.2659, allocations: 11.98 kB / 427.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000486/0.2664, allocations: 0.5992 MB / 427.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2664, allocations: 0 / 427.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009475/0.2673, allocations: 0.525 MB / 428.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.287e-05/0.2674, allocations: 108.9 kB / 428.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.2674, allocations: 8 kB / 428.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002635/0.2677, allocations: 27.97 kB / 428.5 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.178e-05/0.2678, allocations: 15.98 kB / 428.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.2678, allocations: 11.98 kB / 428.5 MB, free: 14.25 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002572/0.268, allocations: 239.2 kB / 428.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.268, allocations: 4 kB / 428.7 MB, free: 14.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004483/0.2685, allocations: 107.8 kB / 428.8 MB, free: 13.91 MB / 350.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.0002206/0.2687, allocations: 131.2 kB / 429 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008579/0.2696, allocations: 410.3 kB / 429.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2696, allocations: 0 / 429.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.2699, allocations: 128.5 kB / 429.5 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.2703, allocations: 45.31 kB / 429.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.2717, allocations: 0.8802 MB / 430.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.2722, allocations: 0.7912 MB / 431.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.2723, allocations: 38.95 kB / 431.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.2724, allocations: 23.44 kB / 431.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2724, allocations: 0 / 431.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of Templates: time 0.009175/0.2815, allocations: 4.052 MB / 435.3 MB, free: 7.371 MB / 350.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches