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.007084/0.007084, allocations: 105.7 kB / 21.98 MB, free: 5.223 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.001714/0.001714, allocations: 215.9 kB / 25.29 MB, free: 3.203 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.427/1.427, allocations: 230.6 MB / 259 MB, free: 8.012 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.001895/0.001895, allocations: 75.88 kB / 379.8 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2365, allocations: 53.36 MB / 433.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004508/0.241, allocations: 3.277 MB / 436.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001836/0.2428, allocations: 1.025 MB / 437.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000171/0.243, allocations: 4 kB / 437.5 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002009/0.2432, allocations: 67.34 kB / 437.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003695/0.2436, allocations: 130.9 kB / 437.7 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.2439, allocations: 147.7 kB / 437.8 MB, free: 2.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005231/0.2444, allocations: 497.8 kB / 438.3 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.2446, allocations: 99.3 kB / 438.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.2449, allocations: 199.3 kB / 438.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002853/0.2452, allocations: 207.1 kB / 438.8 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.921e-05/0.2453, allocations: 40 kB / 438.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.2454, allocations: 75.97 kB / 438.9 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.089e-05/0.2455, allocations: 99.61 kB / 439 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2457, allocations: 215 kB / 439.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005728/0.2463, allocations: 0.4966 MB / 439.7 MB, free: 400 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2463, allocations: 0 / 439.7 MB, free: 400 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2463, allocations: 0 / 439.7 MB, free: 400 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.2463, allocations: 4 kB / 439.7 MB, free: 396 kB / 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.001306/0.2476, allocations: 0.6723 MB / 440.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.326e-05/0.2477, allocations: 8.031 kB / 440.4 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.2478, allocations: 60.64 kB / 440.5 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004314/0.2483, allocations: 257.3 kB / 440.7 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.13e-05/0.2483, allocations: 25.03 kB / 440.7 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.037e-05/0.2484, allocations: 36.38 kB / 440.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006513/0.249, allocations: 349.3 kB / 441.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.249, allocations: 0 / 441.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.475e-05/0.2491, allocations: 16 kB / 441.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.2491, allocations: 15.94 kB / 441.1 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.2496, allocations: 230.5 kB / 441.4 MB, free: 14.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2516, allocations: 1.14 MB / 442.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.2522, allocations: 260.5 kB / 442.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.2527, allocations: 208.3 kB / 443 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003011/0.253, allocations: 68.16 kB / 443 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.2531, allocations: 42.8 kB / 443.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.2531, allocations: 4 kB / 443.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001314/0.2544, allocations: 464.5 kB / 443.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2545, allocations: 81.11 kB / 443.6 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.2549, allocations: 337.7 kB / 443.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.2549, allocations: 29.7 kB / 444 MB, free: 11.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2551, allocations: 220.4 kB / 444.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.193e-05/0.2551, allocations: 103.2 kB / 444.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.2553, allocations: 74.02 kB / 444.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.2554, allocations: 350.7 kB / 444.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002391/0.2556, allocations: 104.7 kB / 444.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.2559, allocations: 189.7 kB / 445 MB, free: 10.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005205/0.2565, allocations: 288 kB / 445.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2565, allocations: 0 / 445.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008283/0.2573, allocations: 433.5 kB / 445.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2573, allocations: 8 kB / 445.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2573, allocations: 0 / 445.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002605/0.2576, allocations: 64.81 kB / 445.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003292/0.2579, allocations: 83.83 kB / 445.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00197/0.2599, allocations: 1.851 MB / 447.7 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.2601, allocations: 43.72 kB / 447.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.2602, allocations: 12 kB / 447.8 MB, free: 7.949 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.0001893/0.2604, allocations: 157.7 kB / 447.9 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.2604, allocations: 43.75 kB / 447.9 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007256/0.2612, allocations: 326.4 kB / 448.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.356e-06/0.2612, allocations: 4 kB / 448.3 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/0.2612, allocations: 3.938 kB / 448.3 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2612, allocations: 3.984 kB / 448.3 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004629/0.2616, allocations: 364.3 kB / 448.6 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2616, allocations: 4 kB / 448.6 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/0.262, allocations: 55.91 kB / 448.7 MB, free: 6.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001957/0.2622, allocations: 56.81 kB / 448.8 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.42e-05/0.2622, allocations: 8 kB / 448.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004872/0.2627, allocations: 0.6189 MB / 449.4 MB, free: 6.234 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.2627, allocations: 7.875 kB / 449.4 MB, free: 6.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.2636, allocations: 0.5064 MB / 449.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/0.2637, allocations: 47.75 kB / 449.9 MB, free: 5.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.2637, allocations: 4 kB / 449.9 MB, free: 5.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002574/0.264, allocations: 19.98 kB / 450 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.264, allocations: 23.89 kB / 450 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.955e-05/0.2641, allocations: 8 kB / 450 MB, free: 5.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002635/0.2643, allocations: 235.2 kB / 450.2 MB, free: 5.375 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2643, allocations: 4 kB / 450.2 MB, free: 5.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004524/0.2648, allocations: 111.8 kB / 450.3 MB, free: 5.262 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.0001889/0.265, allocations: 126.7 kB / 450.5 MB, free: 5.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008393/0.2658, allocations: 407 kB / 450.9 MB, free: 4.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2658, allocations: 4.203 kB / 450.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003475/0.2662, allocations: 131.9 kB / 451 MB, free: 4.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2665, allocations: 39.23 kB / 451 MB, free: 4.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.268, allocations: 0.9187 MB / 451.9 MB, free: 3.598 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.2684, allocations: 0.7912 MB / 452.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.701e-05/0.2685, allocations: 31.42 kB / 452.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2685, allocations: 4 kB / 452.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of Templates: time 0.2506/0.5191, allocations: 5.47 MB / 458.2 MB, free: 13.28 MB / 366.1 MB " [Timeout remaining time 659] 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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.960555576020852]