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.001259/0.001259, 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.001312/0.001312, 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 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.413/1.413, allocations: 230.4 MB / 255.4 MB, free: 15 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.001818/0.001818, allocations: 71.88 kB / 374.8 MB, free: 9.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09993/0.1017, allocations: 53.31 MB / 428.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004766/0.1065, allocations: 3.259 MB / 431.3 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1083, allocations: 1.025 MB / 432.3 MB, free: 100 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001632/0.1085, allocations: 7.938 kB / 432.4 MB, free: 92 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.1086, allocations: 55.42 kB / 432.4 MB, free: 36 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2122/0.3208, allocations: 126.3 kB / 432.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006088/0.3214, allocations: 159.3 kB / 432.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006476/0.3221, allocations: 487 kB / 433.2 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.3223, allocations: 92.2 kB / 433.3 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.3226, allocations: 200.4 kB / 433.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002708/0.3229, allocations: 203.3 kB / 433.7 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.56e-05/0.323, allocations: 43.69 kB / 433.7 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.3232, allocations: 75.72 kB / 433.8 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.718e-05/0.3233, allocations: 94.89 kB / 433.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001827/0.3234, allocations: 220.9 kB / 434.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.3239, allocations: 0.4906 MB / 434.6 MB, free: 7.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3239, allocations: 7.781 kB / 434.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3239, allocations: 0 / 434.6 MB, free: 7.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.324, allocations: 0 / 434.6 MB, free: 7.863 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.001226/0.3252, allocations: 0.7525 MB / 435.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3252, allocations: 8.938 kB / 435.3 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002028/0.3254, allocations: 58.31 kB / 435.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003872/0.3258, allocations: 310.5 kB / 435.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3259, allocations: 28.69 kB / 435.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.179e-05/0.3259, allocations: 34.55 kB / 435.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006188/0.3265, allocations: 348.6 kB / 436.1 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.3266, allocations: 6.062 kB / 436.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.3266, allocations: 14.19 kB / 436.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3266, allocations: 7.531 kB / 436.1 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.3271, allocations: 238.7 kB / 436.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3288, allocations: 1.172 MB / 437.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3295, allocations: 267.3 kB / 437.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.33, allocations: 204.1 kB / 438 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004889/0.3305, allocations: 1.115 MB / 439.1 MB, free: 5.211 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.759e-05/0.3305, allocations: 38.28 kB / 439.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.673e-06/0.3305, allocations: 1.094 kB / 439.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001293/0.3318, allocations: 0.5284 MB / 439.7 MB, free: 4.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.3318, allocations: 84.59 kB / 439.8 MB, free: 4.859 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.3322, allocations: 336.8 kB / 440.1 MB, free: 4.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.3322, allocations: 31.2 kB / 440.1 MB, free: 4.641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.3323, allocations: 215.4 kB / 440.3 MB, free: 4.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.823e-05/0.3324, allocations: 111.4 kB / 440.4 MB, free: 4.371 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3325, allocations: 70.66 kB / 440.5 MB, free: 4.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.3325, allocations: 350.7 kB / 440.8 MB, free: 3.992 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.3328, allocations: 102.5 kB / 440.9 MB, free: 3.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.333, allocations: 185.1 kB / 441.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004539/0.3335, allocations: 281.2 kB / 441.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3335, allocations: 1.969 kB / 441.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007766/0.3342, allocations: 436 kB / 441.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3343, allocations: 5.969 kB / 441.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.3343, allocations: 2.281 kB / 441.8 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002643/0.3345, allocations: 70.27 kB / 441.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003156/0.3348, allocations: 81.5 kB / 442 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.3363, allocations: 1.957 MB / 443.9 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.3366, allocations: 44.02 kB / 444 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.655e-05/0.3366, allocations: 14.91 kB / 444 MB, free: 1.688 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.0001362/0.3367, allocations: 149 kB / 444.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.536e-05/0.3368, allocations: 37.33 kB / 444.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000679/0.3375, allocations: 332.1 kB / 444.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.3375, allocations: 2.5 kB / 444.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.3375, allocations: 4.938 kB / 444.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.3375, allocations: 5.25 kB / 444.5 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004265/0.3379, allocations: 394 kB / 444.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3379, allocations: 0 / 444.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/0.3382, allocations: 59.95 kB / 445 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001986/0.3384, allocations: 56.64 kB / 445 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/0.3385, allocations: 10 kB / 445 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003444/0.3388, allocations: 0.6103 MB / 445.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3388, allocations: 0.5 kB / 445.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.3398, allocations: 0.5241 MB / 446.2 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.3398, allocations: 112.8 kB / 446.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3399, allocations: 10.98 kB / 446.3 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.3401, allocations: 21.55 kB / 446.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.728e-05/0.3402, allocations: 17.86 kB / 446.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.3402, allocations: 11.06 kB / 446.3 MB, free: 84 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002946/0.3405, allocations: 241.7 kB / 446.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 0 / 446.6 MB, free: 15.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005171/0.341, allocations: 116.8 kB / 446.7 MB, free: 15.93 MB / 366.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.0002439/0.3413, allocations: 126.2 kB / 446.8 MB, free: 15.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009492/0.3422, allocations: 397.8 kB / 447.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3422, allocations: 0 / 447.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.3426, allocations: 138.4 kB / 447.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.343, allocations: 52.2 kB / 447.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3446, allocations: 0.9056 MB / 448.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.3451, allocations: 0.7902 MB / 449.1 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001048/0.3452, allocations: 33.39 kB / 449.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3452, allocations: 0 / 449.1 MB, free: 14.28 MB / 366.1 MB Notification: Performance of Templates: time 0.00972/0.3549, allocations: 5.488 MB / 454.6 MB, free: 13.35 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.574457611888647]