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.001301/0.001301, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001504/0.001504, allocations: 217 kB / 24.5 MB, free: 4.133 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.453/1.453, allocations: 230.5 MB / 258.1 MB, free: 8.012 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.001959/0.001959, allocations: 59.91 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2779, allocations: 53.41 MB / 432.4 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.007784/0.2857, allocations: 3.276 MB / 435.7 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.2885, allocations: 1.029 MB / 436.8 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003862/0.2889, allocations: 4 kB / 436.8 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002815/0.2892, allocations: 59.36 kB / 436.8 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006553/0.2898, allocations: 135 kB / 436.9 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005582/0.2904, allocations: 147.6 kB / 437.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000865/0.2912, allocations: 490 kB / 437.6 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003173/0.2916, allocations: 99.62 kB / 437.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.292, allocations: 199.3 kB / 437.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.2925, allocations: 211.1 kB / 438.1 MB, free: 1.094 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.2926, allocations: 40 kB / 438.1 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002459/0.2929, allocations: 79.95 kB / 438.2 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.293, allocations: 95.62 kB / 438.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003196/0.2933, allocations: 211 kB / 438.5 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008899/0.2942, allocations: 0.4992 MB / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2942, allocations: 0 / 439 MB, free: 184 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2942, allocations: 4 kB / 439 MB, free: 180 kB / 334.1 MB Notification: Performance of Transformations before backend: time 2.16e-05/0.2942, allocations: 0 / 439 MB, free: 180 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.001995/0.2962, allocations: 0.6723 MB / 439.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.2963, allocations: 12.03 kB / 439.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002895/0.2966, allocations: 56.64 kB / 439.7 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/0.2972, allocations: 249.3 kB / 440 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.653e-05/0.2973, allocations: 25.03 kB / 440 MB, free: 15.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.566e-05/0.2974, allocations: 36.38 kB / 440 MB, free: 15.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.2984, allocations: 357.3 kB / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.2984, allocations: 0 / 440.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.2985, allocations: 19.98 kB / 440.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2985, allocations: 11.94 kB / 440.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.2993, allocations: 234.5 kB / 440.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003067/0.3023, allocations: 1.136 MB / 441.8 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000974/0.3033, allocations: 267.4 kB / 442 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006679/0.304, allocations: 197.2 kB / 442.2 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004044/0.3044, allocations: 76.22 kB / 442.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.148e-05/0.3044, allocations: 42.8 kB / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.165e-06/0.3044, allocations: 0 / 442.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001884/0.3063, allocations: 468.4 kB / 442.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.665e-05/0.3064, allocations: 81.11 kB / 442.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006399/0.307, allocations: 337.7 kB / 443.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.696e-05/0.3071, allocations: 29.7 kB / 443.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.3073, allocations: 220.4 kB / 443.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.3074, allocations: 103.2 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3076, allocations: 78.02 kB / 443.6 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00024/0.3079, allocations: 350.7 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004074/0.3083, allocations: 104.7 kB / 444.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.3088, allocations: 185.8 kB / 444.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.3097, allocations: 292 kB / 444.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3097, allocations: 0 / 444.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001489/0.3112, allocations: 425.6 kB / 445 MB, free: 9.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/0.3112, allocations: 8 kB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.3112, allocations: 0 / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.3117, allocations: 68.81 kB / 445 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005733/0.3122, allocations: 79.89 kB / 445.1 MB, free: 9.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/0.3148, allocations: 1.852 MB / 447 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.3151, allocations: 35.73 kB / 447 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.318e-05/0.3152, allocations: 16 kB / 447 MB, free: 7.738 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.0002263/0.3154, allocations: 165.7 kB / 447.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.02e-05/0.3155, allocations: 39.77 kB / 447.2 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007681/0.3162, allocations: 322.4 kB / 447.5 MB, free: 7.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3162, allocations: 7.938 kB / 447.5 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3163, allocations: 7.938 kB / 447.5 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.3163, allocations: 4 kB / 447.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005266/0.3168, allocations: 364.3 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.3168, allocations: 0 / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.3172, allocations: 59.89 kB / 448 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002054/0.3174, allocations: 56.83 kB / 448 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.3174, allocations: 8 kB / 448 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005077/0.3179, allocations: 0.6109 MB / 448.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3179, allocations: 32 / 448.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000975/0.3189, allocations: 0.5217 MB / 449.2 MB, free: 5.484 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.319, allocations: 39.69 kB / 449.2 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.319, allocations: 4 kB / 449.2 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002655/0.3193, allocations: 23.98 kB / 449.2 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.553e-05/0.3193, allocations: 15.95 kB / 449.2 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.338e-05/0.3194, allocations: 12 kB / 449.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002855/0.3196, allocations: 243.2 kB / 449.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3196, allocations: 0 / 449.5 MB, free: 5.152 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004827/0.3201, allocations: 107.8 kB / 449.6 MB, free: 5.047 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.0002397/0.3204, allocations: 126.5 kB / 449.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009887/0.3213, allocations: 406.4 kB / 450.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3214, allocations: 0 / 450.1 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003631/0.3217, allocations: 131.9 kB / 450.2 MB, free: 4.379 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003784/0.3221, allocations: 41.75 kB / 450.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001653/0.3237, allocations: 0.9115 MB / 451.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.3242, allocations: 0.7951 MB / 452 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3243, allocations: 31.42 kB / 452 MB, free: 2.535 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3243, allocations: 3.938 kB / 452 MB, free: 2.531 MB / 350.1 MB Notification: Performance of Templates: time 0.009916/0.3342, allocations: 5.485 MB / 457.5 MB, free: 13.06 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.740429258206859]