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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001236/0.001236, allocations: 117 kB / 21.18 MB, free: 0.6289 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.001401/0.001401, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.434/1.434, allocations: 230.5 MB / 258.1 MB, free: 8.16 MB / 206.1 MB " [Timeout remaining time 178] 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=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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed") [Timeout 660] "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.001999/0.001999, allocations: 72.06 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2605, allocations: 53.32 MB / 432.1 MB, free: 7.395 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004697/0.2652, allocations: 3.272 MB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2672, allocations: 1.025 MB / 436.4 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002296/0.2674, allocations: 4 kB / 436.4 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001991/0.2676, allocations: 63.36 kB / 436.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004383/0.268, allocations: 134.9 kB / 436.6 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.2684, allocations: 147.7 kB / 436.7 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.2689, allocations: 489.9 kB / 437.2 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.2692, allocations: 95.17 kB / 437.3 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003248/0.2695, allocations: 191.3 kB / 437.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.2698, allocations: 215.1 kB / 437.7 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.96e-05/0.2699, allocations: 40 kB / 437.7 MB, free: 1.719 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.27, allocations: 71.97 kB / 437.8 MB, free: 1.648 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.2701, allocations: 103.6 kB / 437.9 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002008/0.2703, allocations: 211 kB / 438.1 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005928/0.2709, allocations: 0.4956 MB / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2709, allocations: 0 / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.2709, allocations: 0 / 438.6 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.486e-06/0.2709, allocations: 0 / 438.6 MB, free: 0.8438 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.001465/0.2724, allocations: 0.7632 MB / 439.3 MB, free: 32 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.2724, allocations: 8.031 kB / 439.3 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.2726, allocations: 56.64 kB / 439.4 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.2732, allocations: 315.5 kB / 439.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2732, allocations: 25.03 kB / 439.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.2733, allocations: 36.38 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006877/0.2739, allocations: 357.3 kB / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.274, allocations: 0 / 440.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.274, allocations: 16 kB / 440.1 MB, free: 15.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.274, allocations: 8 kB / 440.1 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.2745, allocations: 230.5 kB / 440.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/0.2767, allocations: 1.174 MB / 441.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.2774, allocations: 271.5 kB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/0.2779, allocations: 197.1 kB / 442 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009661/0.2789, allocations: 1.117 MB / 443.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.2789, allocations: 34.8 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.304e-06/0.2789, allocations: 0 / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.00147/0.2804, allocations: 0.5328 MB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.393e-05/0.2804, allocations: 81.11 kB / 443.8 MB, free: 11.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004298/0.2809, allocations: 337.7 kB / 444.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.2809, allocations: 29.7 kB / 444.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.2811, allocations: 216.5 kB / 444.3 MB, free: 10.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.193e-05/0.2812, allocations: 111.2 kB / 444.4 MB, free: 10.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.2813, allocations: 74.02 kB / 444.5 MB, free: 10.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2815, allocations: 350.7 kB / 444.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.2817, allocations: 96.7 kB / 445 MB, free: 9.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003102/0.282, allocations: 198 kB / 445.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.2826, allocations: 280 kB / 445.4 MB, free: 9.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.2826, allocations: 4 kB / 445.4 MB, free: 9.402 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008723/0.2835, allocations: 433.2 kB / 445.8 MB, free: 8.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.2835, allocations: 8 kB / 445.9 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.2835, allocations: 3.984 kB / 445.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000275/0.2838, allocations: 69 kB / 445.9 MB, free: 8.887 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.2841, allocations: 79.89 kB / 446 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.2863, allocations: 1.959 MB / 448 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002879/0.2865, allocations: 43.83 kB / 448 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.2866, allocations: 15.98 kB / 448 MB, free: 6.652 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.0002087/0.2868, allocations: 149.7 kB / 448.2 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.482e-05/0.2869, allocations: 35.77 kB / 448.2 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007474/0.2876, allocations: 326.3 kB / 448.5 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.2876, allocations: 4 kB / 448.5 MB, free: 6.129 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.2876, allocations: 3.938 kB / 448.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2876, allocations: 4 kB / 448.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004948/0.2881, allocations: 397.2 kB / 448.9 MB, free: 5.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.2881, allocations: 4 kB / 448.9 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.2885, allocations: 55.89 kB / 449 MB, free: 5.625 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002061/0.2887, allocations: 64.81 kB / 449 MB, free: 5.559 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.2887, allocations: 7.984 kB / 449 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004734/0.2892, allocations: 0.6031 MB / 449.7 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2892, allocations: 3.938 kB / 449.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009487/0.2901, allocations: 0.5212 MB / 450.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.2902, allocations: 108.8 kB / 450.3 MB, free: 4.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.465e-05/0.2903, allocations: 11.98 kB / 450.3 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.2906, allocations: 23.98 kB / 450.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.2906, allocations: 19.92 kB / 450.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.2906, allocations: 11.98 kB / 450.3 MB, free: 4.188 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002581/0.2909, allocations: 239.2 kB / 450.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2909, allocations: 0 / 450.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004701/0.2914, allocations: 115.8 kB / 450.7 MB, free: 3.844 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.0002335/0.2916, allocations: 131.2 kB / 450.8 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009083/0.2925, allocations: 402.3 kB / 451.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2925, allocations: 192 / 451.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.2929, allocations: 131.9 kB / 451.3 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.2932, allocations: 49.8 kB / 451.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.2948, allocations: 0.9116 MB / 452.3 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004223/0.2952, allocations: 0.7912 MB / 453.1 MB, free: 1.359 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.371e-05/0.2953, allocations: 35.42 kB / 453.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.2953, allocations: 0 / 453.1 MB, free: 1.324 MB / 350.1 MB Notification: Performance of Templates: time 0.008714/0.304, allocations: 5.484 MB / 458.6 MB, free: 11.85 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.makefile [Timeout 660] (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 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.290557716041803]