Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 93.52 kB / 296.7 MB, free: 6.504 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009896/0.0009899, allocations: 47.92 kB / 356.6 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2618, allocations: 50.45 MB / 407.1 MB, free: 27.82 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003728/0.2656, allocations: 3.279 MB / 410.3 MB, free: 24.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001252/0.2669, allocations: 1.004 MB / 411.3 MB, free: 23.54 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.267, allocations: 4 kB / 411.3 MB, free: 23.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001588/0.2672, allocations: 43.61 kB / 411.4 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000286/0.2675, allocations: 115.2 kB / 411.5 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.2677, allocations: 119.8 kB / 411.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.268, allocations: 466 kB / 412.1 MB, free: 22.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.2682, allocations: 123.8 kB / 412.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001874/0.2684, allocations: 179.3 kB / 412.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001713/0.2686, allocations: 195.1 kB / 412.5 MB, free: 22.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.502e-05/0.2686, allocations: 24 kB / 412.6 MB, free: 22.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.2687, allocations: 71.95 kB / 412.6 MB, free: 22.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.143e-05/0.2688, allocations: 83.61 kB / 412.7 MB, free: 22.13 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.2689, allocations: 198.9 kB / 412.9 MB, free: 21.93 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003051/0.2692, allocations: 483.9 kB / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2693, allocations: 4 kB / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.2693, allocations: 0 / 413.4 MB, free: 21.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.2693, allocations: 0 / 413.4 MB, free: 21.46 MB / 298.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.001055/0.2703, allocations: 0.7441 MB / 414.1 MB, free: 20.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.2704, allocations: 8.031 kB / 414.1 MB, free: 20.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.2706, allocations: 52.45 kB / 414.2 MB, free: 20.61 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002827/0.2709, allocations: 307.3 kB / 414.5 MB, free: 20.27 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.2709, allocations: 21.03 kB / 414.5 MB, free: 20.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.2709, allocations: 36.38 kB / 414.6 MB, free: 20.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004985/0.2714, allocations: 365.3 kB / 414.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.2715, allocations: 0 / 414.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.2715, allocations: 8 kB / 414.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2715, allocations: 8 kB / 414.9 MB, free: 19.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004008/0.2719, allocations: 238.5 kB / 415.2 MB, free: 19.6 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001444/0.2734, allocations: 1.166 MB / 416.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.2739, allocations: 284.1 kB / 416.6 MB, free: 18.07 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.2743, allocations: 209.2 kB / 416.8 MB, free: 17.86 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004404/0.2748, allocations: 1.113 MB / 417.9 MB, free: 16.49 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.599e-05/0.2748, allocations: 34.8 kB / 418 MB, free: 16.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 1.413e-06/0.2748, allocations: 4 kB / 418 MB, free: 16.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.00111/0.2759, allocations: 0.5325 MB / 418.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.95e-05/0.276, allocations: 85.11 kB / 418.6 MB, free: 15.78 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.2762, allocations: 328.5 kB / 418.9 MB, free: 15.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2762, allocations: 33.7 kB / 418.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.99e-05/0.2763, allocations: 216.2 kB / 419.1 MB, free: 15.19 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.679e-05/0.2764, allocations: 98.56 kB / 419.2 MB, free: 15.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-05/0.2765, allocations: 73.91 kB / 419.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.798e-05/0.2765, allocations: 346.8 kB / 419.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.2767, allocations: 108.7 kB / 419.8 MB, free: 14.56 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000209/0.277, allocations: 181.8 kB / 419.9 MB, free: 14.35 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003774/0.2773, allocations: 296 kB / 420.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.2773, allocations: 0 / 420.2 MB, free: 14.04 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006243/0.278, allocations: 429.5 kB / 420.6 MB, free: 13.61 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.278, allocations: 10.81 kB / 420.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.278, allocations: 4 kB / 420.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002383/0.2783, allocations: 72.69 kB / 420.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002755/0.2785, allocations: 79.89 kB / 420.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001253/0.2798, allocations: 1.768 MB / 422.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.28, allocations: 39.58 kB / 422.6 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.2801, allocations: 12 kB / 422.6 MB, free: 11.49 MB / 298.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.0001116/0.2802, allocations: 151.2 kB / 422.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.2802, allocations: 39.56 kB / 422.8 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/0.2808, allocations: 338.2 kB / 423.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.2808, allocations: 4 kB / 423.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-06/0.2808, allocations: 0 / 423.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.2809, allocations: 3.984 kB / 423.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.2812, allocations: 389.2 kB / 423.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2812, allocations: 0 / 423.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.2815, allocations: 55.95 kB / 423.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001534/0.2816, allocations: 64.8 kB / 423.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.2817, allocations: 8 kB / 423.7 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002521/0.2819, allocations: 0.5992 MB / 424.3 MB, free: 9.766 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2819, allocations: 4.031 kB / 424.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00574/0.2877, allocations: 5.335 MB / 429.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.719e-05/0.2878, allocations: 116.6 kB / 429.7 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.267e-05/0.2878, allocations: 8 kB / 429.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002464/0.2881, allocations: 31.92 kB / 429.7 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.2881, allocations: 15.97 kB / 429.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2882, allocations: 8 kB / 429.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001962/0.2884, allocations: 235 kB / 430 MB, free: 3.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2884, allocations: 0 / 430 MB, free: 3.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005775/0.289, allocations: 183.8 kB / 430.2 MB, free: 3.5 MB / 298.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.0002113/0.2892, allocations: 171.2 kB / 430.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.2899, allocations: 422.6 kB / 430.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2899, allocations: 0 / 430.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.2902, allocations: 136.4 kB / 430.9 MB, free: 2.766 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004063/0.2906, allocations: 41.36 kB / 430.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.292, allocations: 1.366 MB / 432.3 MB, free: 1.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.2922, allocations: 0.8035 MB / 433.1 MB, free: 484 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.2924, allocations: 42.95 kB / 433.1 MB, free: 440 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.444e-05/0.2925, allocations: 35.42 kB / 433.2 MB, free: 404 kB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2925, allocations: 0 / 433.2 MB, free: 404 kB / 298.7 MB Notification: Performance of Templates: time 0.008889/0.3014, allocations: 5.2 MB / 438.4 MB, free: 11.26 MB / 314.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches