Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.005655/0.005655, allocations: 106.5 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.001507/0.001507, allocations: 213.7 kB / 25.29 MB, free: 3.215 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.433/1.433, allocations: 230.6 MB / 259 MB, free: 8.023 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.OpAmps.DifferentialAmplifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.v_out|rootMeanSquare.mean.x",fileNamePrefix="Modelica_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier") [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.002001/0.002001, allocations: 59.91 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2829, allocations: 53.37 MB / 433.2 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006065/0.289, allocations: 4.518 MB / 437.7 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2916, allocations: 1.289 MB / 439 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003589/0.2919, allocations: 23.81 kB / 439 MB, free: 1.105 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.2924, allocations: 146.7 kB / 439.2 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004422/0.2928, allocations: 210.2 kB / 439.4 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.2933, allocations: 219.6 kB / 439.6 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008533/0.2942, allocations: 0.763 MB / 440.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.2945, allocations: 191.1 kB / 440.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004432/0.295, allocations: 306.9 kB / 440.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004222/0.2954, allocations: 322.5 kB / 441.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.34e-05/0.2955, allocations: 64 kB / 441.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.2956, allocations: 68 kB / 441.3 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.2958, allocations: 155.4 kB / 441.4 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.2961, allocations: 346.3 kB / 441.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008354/0.2969, allocations: 0.7597 MB / 442.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2969, allocations: 0 / 442.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2969, allocations: 0 / 442.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.297, allocations: 4 kB / 442.6 MB, free: 13.58 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001736/0.2987, allocations: 0.9538 MB / 443.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.2987, allocations: 12.03 kB / 443.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002936/0.299, allocations: 96.45 kB / 443.6 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005499/0.2996, allocations: 360.3 kB / 444 MB, free: 12.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.046e-05/0.2996, allocations: 41.69 kB / 444 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.2997, allocations: 52.38 kB / 444.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.3007, allocations: 0.5495 MB / 444.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.3007, allocations: 0 / 444.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.485e-05/0.3008, allocations: 31.98 kB / 444.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.3008, allocations: 15.94 kB / 444.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.3017, allocations: 421 kB / 445.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.3046, allocations: 1.774 MB / 446.8 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007565/0.3054, allocations: 349.9 kB / 447.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009833/0.3064, allocations: 425 kB / 447.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.544e-05/0.3064, allocations: 4.328 kB / 447.6 MB, free: 8.367 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005661/0.307, allocations: 302.2 kB / 447.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.573e-06/0.307, allocations: 0 / 447.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.003398/0.3104, allocations: 1.11 MB / 449 MB, free: 6.914 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.3105, allocations: 235.3 kB / 449.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005563/0.3111, allocations: 437.9 kB / 449.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.3111, allocations: 41.62 kB / 449.7 MB, free: 6.148 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.3114, allocations: 316.8 kB / 450 MB, free: 5.832 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000142/0.3115, allocations: 154.7 kB / 450.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.3117, allocations: 86.19 kB / 450.2 MB, free: 5.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.3118, allocations: 358.7 kB / 450.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.3122, allocations: 148.9 kB / 450.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005016/0.3127, allocations: 324.8 kB / 451.1 MB, free: 4.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007868/0.3135, allocations: 443.4 kB / 451.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3135, allocations: 0 / 451.5 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001733/0.3152, allocations: 0.748 MB / 452.2 MB, free: 3.453 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.3152, allocations: 12.05 kB / 452.2 MB, free: 3.441 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3152, allocations: 8 kB / 452.3 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006447/0.3159, allocations: 180.7 kB / 452.4 MB, free: 3.254 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000336/0.3162, allocations: 79.91 kB / 452.5 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004508/0.3207, allocations: 2.701 MB / 455.2 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000595/0.3213, allocations: 83.69 kB / 455.3 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-05/0.3214, allocations: 24 kB / 455.3 MB, free: 268 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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,15)} Notification: Performance of prepare postOptimizeDAE: time 0.00034/0.3217, allocations: 177.7 kB / 455.5 MB, free: 80 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-05/0.3218, allocations: 51.67 kB / 455.5 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.3219, allocations: 56.95 kB / 455.6 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.3219, allocations: 7.938 kB / 455.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3219, allocations: 0 / 455.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.3219, allocations: 4 kB / 455.6 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002355/0.3243, allocations: 1.23 MB / 456.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3243, allocations: 0 / 456.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002191/0.3245, allocations: 51.91 kB / 456.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005367/0.325, allocations: 180.7 kB / 457.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.706e-05/0.3251, allocations: 8 kB / 457.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/0.3293, allocations: 2.671 MB / 459.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3294, allocations: 4 kB / 459.7 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002019/0.3314, allocations: 0.9064 MB / 460.7 MB, free: 10.72 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.3315, allocations: 51.62 kB / 460.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.349e-05/0.3316, allocations: 8 kB / 460.7 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.3319, allocations: 52.02 kB / 460.8 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.001e-05/0.332, allocations: 31.97 kB / 460.8 MB, free: 10.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.447e-05/0.3321, allocations: 12 kB / 460.8 MB, free: 10.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004157/0.3325, allocations: 303.1 kB / 461.1 MB, free: 10.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3325, allocations: 3.938 kB / 461.1 MB, free: 10.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006796/0.3332, allocations: 183.7 kB / 461.3 MB, free: 10.09 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: 2 ($whenCondition1,rootMeanSquare.mean.y_last) * Number of discrete states: 1 (rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001757/0.3333, allocations: 119.1 kB / 461.4 MB, free: 9.969 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3346, allocations: 0.5614 MB / 462 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3346, allocations: 0 / 462 MB, free: 9.395 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006976/0.3353, allocations: 374.1 kB / 462.3 MB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005078/0.3358, allocations: 95.11 kB / 462.4 MB, free: 8.926 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.3376, allocations: 0.9621 MB / 463.4 MB, free: 7.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.3381, allocations: 0.8594 MB / 464.2 MB, free: 7.039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.3383, allocations: 39.42 kB / 464.3 MB, free: 7 MB / 366.1 MB Notification: Performance of SimCode: time 8.12e-07/0.3383, allocations: 0 / 464.3 MB, free: 7 MB / 366.1 MB Notification: Performance of Templates: time 0.01273/0.351, allocations: 8.535 MB / 472.8 MB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.002784386044368]