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.001343/0.001343, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001514/0.001514, allocations: 210.8 kB / 24.48 MB, free: 3.934 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.454/1.454, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.003047/0.003047, allocations: 64.05 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2915, allocations: 53.41 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004613/0.2961, allocations: 2.973 MB / 435.4 MB, free: 3.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.298, allocations: 0.9469 MB / 436.3 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001921/0.2982, allocations: 7.938 kB / 436.3 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000295/0.2985, allocations: 59.42 kB / 436.4 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003985/0.2989, allocations: 126.9 kB / 436.5 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.2993, allocations: 163.5 kB / 436.7 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006145/0.2999, allocations: 482 kB / 437.1 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002332/0.3002, allocations: 98.52 kB / 437.2 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.3005, allocations: 199.3 kB / 437.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.3007, allocations: 179.1 kB / 437.6 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.3008, allocations: 40 kB / 437.6 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002611/0.3011, allocations: 79.95 kB / 437.7 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.828e-05/0.3012, allocations: 99.55 kB / 437.8 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.3013, allocations: 179.2 kB / 438 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.3019, allocations: 0.4899 MB / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3019, allocations: 0 / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3019, allocations: 0 / 438.5 MB, free: 428 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.3019, allocations: 0 / 438.5 MB, free: 428 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.001347/0.3033, allocations: 0.6762 MB / 439.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.3033, allocations: 11.98 kB / 439.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001917/0.3035, allocations: 56.64 kB / 439.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004797/0.304, allocations: 253.3 kB / 439.5 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.304, allocations: 29.03 kB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.276e-05/0.3041, allocations: 36.38 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007017/0.3048, allocations: 452.1 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.3048, allocations: 0 / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.3049, allocations: 16 kB / 440 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.3049, allocations: 4 kB / 440 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.3054, allocations: 226.5 kB / 440.2 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3073, allocations: 0.9843 MB / 441.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006726/0.308, allocations: 251.1 kB / 441.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/0.3085, allocations: 197.2 kB / 441.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003204/0.3089, allocations: 68.16 kB / 441.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.313e-05/0.3089, allocations: 46.8 kB / 441.8 MB, free: 12.98 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.853e-06/0.3089, allocations: 3.938 kB / 441.8 MB, free: 12.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001309/0.3102, allocations: 440.6 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.762e-05/0.3103, allocations: 81.11 kB / 442.3 MB, free: 12.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003794/0.3107, allocations: 300.5 kB / 442.6 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.3107, allocations: 33.7 kB / 442.6 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3109, allocations: 228.2 kB / 442.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.851e-05/0.311, allocations: 103.1 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.3111, allocations: 70.06 kB / 443 MB, free: 11.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001911/0.3113, allocations: 342.8 kB / 443.3 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00023/0.3115, allocations: 100.7 kB / 443.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/0.3118, allocations: 203.5 kB / 443.6 MB, free: 11.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000532/0.3123, allocations: 280 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.3123, allocations: 4 kB / 443.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008283/0.3132, allocations: 421.3 kB / 444.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3132, allocations: 4 kB / 444.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.3132, allocations: 4 kB / 444.3 MB, free: 10.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002731/0.3135, allocations: 73 kB / 444.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000315/0.3138, allocations: 67.91 kB / 444.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.3159, allocations: 1.813 MB / 446.3 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.3161, allocations: 39.72 kB / 446.3 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.3161, allocations: 12 kB / 446.3 MB, free: 8.176 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.0001956/0.3163, allocations: 149.8 kB / 446.5 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.3164, allocations: 35.75 kB / 446.5 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007469/0.3171, allocations: 317.4 kB / 446.8 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3172, allocations: 4 kB / 446.8 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3172, allocations: 3.984 kB / 446.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.3172, allocations: 0 / 446.8 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00041/0.3176, allocations: 277 kB / 447.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.3176, allocations: 0 / 447.1 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3179, allocations: 55.91 kB / 447.1 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.3181, allocations: 68.88 kB / 447.2 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.458e-05/0.3181, allocations: 8 kB / 447.2 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004839/0.3186, allocations: 0.6109 MB / 447.8 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3186, allocations: 4 kB / 447.8 MB, free: 6.57 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.3195, allocations: 0.4944 MB / 448.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.678e-05/0.3196, allocations: 39.73 kB / 448.4 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.3196, allocations: 4 kB / 448.4 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.3198, allocations: 20.17 kB / 448.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.917e-05/0.3199, allocations: 19.97 kB / 448.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.721e-05/0.3199, allocations: 11.88 kB / 448.4 MB, free: 5.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.3201, allocations: 211.1 kB / 448.6 MB, free: 5.762 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3201, allocations: 4 kB / 448.6 MB, free: 5.758 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.3206, allocations: 107.8 kB / 448.7 MB, free: 5.652 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.0002081/0.3208, allocations: 131.2 kB / 448.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008324/0.3216, allocations: 390.4 kB / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.3216, allocations: 0 / 449.2 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.322, allocations: 124.4 kB / 449.4 MB, free: 5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3223, allocations: 42.14 kB / 449.4 MB, free: 4.965 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001439/0.3238, allocations: 0.8993 MB / 450.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001812/0.324, allocations: 186.5 kB / 450.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.827e-05/0.324, allocations: 27.44 kB / 450.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of SimCode: time 3.81e-07/0.324, allocations: 0 / 450.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of Templates: time 0.008278/0.3323, allocations: 5.454 MB / 456 MB, free: 14.35 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/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_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.52368480572477]