Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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.001773/0.001773, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001742/0.001742, allocations: 204.5 kB / 23.72 MB, free: 4.391 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.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 7.773 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.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 59.89 kB / 378.3 MB, free: 2.277 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2717/0.2737, allocations: 53.42 MB / 431.7 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006658/0.2804, allocations: 4.075 MB / 435.7 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002943/0.2833, allocations: 1.188 MB / 436.9 MB, free: 1.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004257/0.2838, allocations: 11.94 kB / 436.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.2843, allocations: 142.7 kB / 437.1 MB, free: 1.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005167/0.2848, allocations: 218.2 kB / 437.3 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.2853, allocations: 199.6 kB / 437.5 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009354/0.2862, allocations: 0.763 MB / 438.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.2866, allocations: 181.6 kB / 438.4 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004785/0.2871, allocations: 302.9 kB / 438.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004884/0.2876, allocations: 298.4 kB / 439 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001132/0.2877, allocations: 64 kB / 439.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001576/0.2878, allocations: 68 kB / 439.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.288, allocations: 147.4 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003323/0.2883, allocations: 290.6 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009767/0.2893, allocations: 0.7738 MB / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2893, allocations: 0 / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.2893, allocations: 0 / 440.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2893, allocations: 3.938 kB / 440.4 MB, free: 13.79 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.002003/0.2913, allocations: 0.9464 MB / 441.3 MB, free: 12.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.2914, allocations: 15.98 kB / 441.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.2917, allocations: 100.4 kB / 441.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006645/0.2924, allocations: 364.2 kB / 441.8 MB, free: 12.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.2924, allocations: 45.69 kB / 441.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.2925, allocations: 56.38 kB / 441.9 MB, free: 12.21 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.2935, allocations: 0.6758 MB / 442.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.2936, allocations: 3.984 kB / 442.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/0.2936, allocations: 28 kB / 442.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.323e-05/0.2936, allocations: 12 kB / 442.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008098/0.2945, allocations: 397.1 kB / 443 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003172/0.2976, allocations: 1.494 MB / 444.5 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008102/0.2984, allocations: 365.9 kB / 444.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001017/0.2995, allocations: 404.7 kB / 445.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.355e-05/0.2995, allocations: 12 kB / 445.2 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006204/0.3001, allocations: 499.6 kB / 445.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.444e-06/0.3001, allocations: 0 / 445.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.002955/0.3031, allocations: 0.9464 MB / 446.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001808/0.3033, allocations: 235.3 kB / 446.9 MB, free: 6.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.3038, allocations: 425.8 kB / 447.3 MB, free: 6.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.3039, allocations: 29.7 kB / 447.3 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.3042, allocations: 332.6 kB / 447.7 MB, free: 6.117 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001466/0.3043, allocations: 146.8 kB / 447.8 MB, free: 5.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.3045, allocations: 102.3 kB / 447.9 MB, free: 5.867 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.3047, allocations: 362.7 kB / 448.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.305, allocations: 133.2 kB / 448.4 MB, free: 5.371 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005321/0.3055, allocations: 485.7 kB / 448.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.3062, allocations: 415.4 kB / 449.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.3062, allocations: 0 / 449.3 MB, free: 4.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001399/0.3076, allocations: 0.6565 MB / 449.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.3076, allocations: 7.938 kB / 449.9 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3076, allocations: 4.031 kB / 449.9 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008375/0.3085, allocations: 232.5 kB / 450.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.3088, allocations: 83.83 kB / 450.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/0.3128, allocations: 2.687 MB / 452.9 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.3133, allocations: 75.59 kB / 453 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.3134, allocations: 19.94 kB / 453 MB, free: 484 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last,opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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 {(2,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002818/0.3136, allocations: 189.7 kB / 453.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.064e-05/0.3137, allocations: 51.72 kB / 453.3 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.806e-05/0.3138, allocations: 52.8 kB / 453.3 MB, free: 176 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3138, allocations: 11.94 kB / 453.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3138, allocations: 0 / 453.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.3138, allocations: 0 / 453.3 MB, free: 164 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001863/0.3157, allocations: 1.024 MB / 454.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3157, allocations: 0 / 454.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002148/0.3159, allocations: 43.97 kB / 454.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007692/0.3167, allocations: 224.7 kB / 454.6 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.445e-05/0.3167, allocations: 8 kB / 454.6 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003828/0.3205, allocations: 2.723 MB / 457.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3205, allocations: 0 / 457.4 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.3221, allocations: 0.8149 MB / 458.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.3222, allocations: 55.62 kB / 458.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/0.3223, allocations: 11.98 kB / 458.2 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003506/0.3227, allocations: 47.97 kB / 458.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.3228, allocations: 39.88 kB / 458.3 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.654e-05/0.3228, allocations: 11.98 kB / 458.3 MB, free: 11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003659/0.3231, allocations: 291.2 kB / 458.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3231, allocations: 0 / 458.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006853/0.3238, allocations: 183.7 kB / 458.8 MB, free: 10.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition1,rootMeanSquare.mean.y_last,opAmp.satNeg,opAmp.satPos) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(3,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001605/0.324, allocations: 114.1 kB / 458.9 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001118/0.3251, allocations: 0.5504 MB / 459.5 MB, free: 9.848 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.3251, allocations: 4 kB / 459.5 MB, free: 9.844 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006303/0.3257, allocations: 386.6 kB / 459.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004838/0.3262, allocations: 80.28 kB / 459.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.3285, allocations: 1.043 MB / 461 MB, free: 8.301 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.3288, allocations: 271.6 kB / 461.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002054/0.329, allocations: 48.25 kB / 461.3 MB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.723e-05/0.3291, allocations: 31.44 kB / 461.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3291, allocations: 0 / 461.3 MB, free: 7.926 MB / 366.1 MB Notification: Performance of Templates: time 0.01579/0.3448, allocations: 7.572 MB / 468.9 MB, free: 464 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.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: 4.819444792345166]