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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001697/0.001697, allocations: 116.8 kB / 19.17 MB, free: 3.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00213/0.00213, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 230.2 MB / 255.1 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] 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) 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=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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 59.91 kB / 374.5 MB, free: 9.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09585/0.09773, allocations: 53.32 MB / 427.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004518/0.1022, allocations: 3.261 MB / 431.1 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.104, allocations: 1.032 MB / 432.1 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001461/0.1042, allocations: 4 kB / 432.1 MB, free: 244 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.1044, allocations: 63.36 kB / 432.2 MB, free: 180 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1047, allocations: 126.9 kB / 432.3 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1823/0.287, allocations: 149.8 kB / 432.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006563/0.2876, allocations: 488.6 kB / 433 MB, free: 8.148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002334/0.2879, allocations: 94.66 kB / 433 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.2882, allocations: 194.3 kB / 433.2 MB, free: 8.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002679/0.2885, allocations: 208.5 kB / 433.4 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.879e-05/0.2885, allocations: 39.72 kB / 433.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.2887, allocations: 81.14 kB / 433.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.386e-05/0.2888, allocations: 93.62 kB / 433.7 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/0.289, allocations: 214 kB / 433.9 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004841/0.2894, allocations: 0.5004 MB / 434.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2894, allocations: 0 / 434.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2894, allocations: 2.781 kB / 434.4 MB, free: 7.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2895, allocations: 0 / 434.4 MB, free: 7.922 MB / 350.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.001162/0.2906, allocations: 0.7467 MB / 435.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2907, allocations: 9.375 kB / 435.1 MB, free: 7.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000188/0.2908, allocations: 59.97 kB / 435.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.2912, allocations: 319.6 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.2912, allocations: 23.78 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.2913, allocations: 36.44 kB / 435.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.2919, allocations: 353.8 kB / 435.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2919, allocations: 3.938 kB / 435.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.324e-05/0.2919, allocations: 12.5 kB / 435.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.2919, allocations: 7.5 kB / 435.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004712/0.2924, allocations: 239 kB / 436.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2941, allocations: 1.175 MB / 437.3 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006208/0.2947, allocations: 257.2 kB / 437.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004978/0.2952, allocations: 202 kB / 437.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004801/0.2957, allocations: 1.113 MB / 438.9 MB, free: 5.273 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.645e-05/0.2957, allocations: 36.03 kB / 438.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.633e-06/0.2957, allocations: 0 / 438.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001311/0.2971, allocations: 0.5332 MB / 439.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.2971, allocations: 83.67 kB / 439.5 MB, free: 4.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.2974, allocations: 338.4 kB / 439.9 MB, free: 4.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.2974, allocations: 37.83 kB / 439.9 MB, free: 4.766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2976, allocations: 217.8 kB / 440.1 MB, free: 4.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.2976, allocations: 103.9 kB / 440.2 MB, free: 4.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.2977, allocations: 75.08 kB / 440.3 MB, free: 4.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.2978, allocations: 347.1 kB / 440.6 MB, free: 4.125 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.298, allocations: 105.8 kB / 440.7 MB, free: 4.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.2983, allocations: 184.8 kB / 440.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004512/0.2987, allocations: 284.8 kB / 441.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2987, allocations: 1.156 kB / 441.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007521/0.2995, allocations: 433.1 kB / 441.6 MB, free: 3.625 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2995, allocations: 13.66 kB / 441.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2995, allocations: 3.688 kB / 441.6 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002577/0.2997, allocations: 68.41 kB / 441.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003179/0.3001, allocations: 73.48 kB / 441.8 MB, free: 3.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.3015, allocations: 1.956 MB / 443.7 MB, free: 1.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002642/0.3018, allocations: 43.62 kB / 443.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.577e-05/0.3018, allocations: 10.61 kB / 443.8 MB, free: 1.816 MB / 350.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.0001332/0.3019, allocations: 155.5 kB / 443.9 MB, free: 1.676 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.513e-05/0.302, allocations: 36.8 kB / 444 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.3027, allocations: 328.6 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3027, allocations: 3.219 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.3027, allocations: 0.5625 kB / 444.3 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3027, allocations: 6.609 kB / 444.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.3031, allocations: 397.7 kB / 444.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3031, allocations: 0 / 444.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003252/0.3034, allocations: 57.27 kB / 444.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000186/0.3036, allocations: 61.52 kB / 444.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.3037, allocations: 8.281 kB / 444.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003228/0.304, allocations: 0.6081 MB / 445.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.304, allocations: 0.5312 kB / 445.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008943/0.3049, allocations: 0.5199 MB / 445.9 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.3049, allocations: 117.7 kB / 446.1 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.305, allocations: 9.156 kB / 446.1 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.3053, allocations: 25.53 kB / 446.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.3053, allocations: 14.55 kB / 446.1 MB, free: 220 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/0.3053, allocations: 10.03 kB / 446.1 MB, free: 216 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002208/0.3055, allocations: 242.1 kB / 446.3 MB, free: 84 kB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3055, allocations: 1.125 kB / 446.4 MB, free: 84 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004567/0.306, allocations: 111.2 kB / 446.5 MB, free: 60 kB / 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.0002256/0.3062, allocations: 130.4 kB / 446.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008557/0.3071, allocations: 395.9 kB / 447 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3071, allocations: 3.938 kB / 447 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.3075, allocations: 139.6 kB / 447.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003621/0.3078, allocations: 43.25 kB / 447.2 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/0.3093, allocations: 0.9079 MB / 448.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004143/0.3097, allocations: 0.7919 MB / 448.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.763e-05/0.3098, allocations: 29.02 kB / 448.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3098, allocations: 0 / 448.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of Templates: time 0.008554/0.3184, allocations: 5.493 MB / 454.4 MB, free: 13.5 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 7.730290931882337]