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.001414/0.001414, allocations: 107 kB / 19.8 MB, free: 2.5 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.001636/0.001636, allocations: 216.8 kB / 22.99 MB, free: 5.574 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.459/1.459, allocations: 230.2 MB / 256.2 MB, free: 8.547 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.002934/0.002934, allocations: 63.89 kB / 376.5 MB, free: 3.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3894, allocations: 53.32 MB / 429.8 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.006477/0.3958, allocations: 4.519 MB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002745/0.3986, allocations: 1.289 MB / 435.6 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.3989, allocations: 12 kB / 435.7 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004846/0.3994, allocations: 142.7 kB / 435.8 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.3998, allocations: 214.2 kB / 436 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.4003, allocations: 219.5 kB / 436.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008284/0.4012, allocations: 0.7591 MB / 437 MB, free: 376 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.4016, allocations: 190.6 kB / 437.2 MB, free: 176 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004574/0.402, allocations: 298.8 kB / 437.5 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.4024, allocations: 326.5 kB / 437.8 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.298e-05/0.4025, allocations: 71.94 kB / 437.8 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.4027, allocations: 68 kB / 437.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.4028, allocations: 147.4 kB / 438.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003593/0.4032, allocations: 342.3 kB / 438.4 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009065/0.4041, allocations: 0.7636 MB / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.4041, allocations: 0 / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.4041, allocations: 3.938 kB / 439.2 MB, free: 14.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.444e-05/0.4041, allocations: 0 / 439.2 MB, free: 14.18 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.001786/0.4059, allocations: 0.9776 MB / 440.1 MB, free: 13.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.406, allocations: 12.03 kB / 440.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/0.4063, allocations: 96.44 kB / 440.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005984/0.4069, allocations: 430.1 kB / 440.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.4069, allocations: 45.69 kB / 440.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.407, allocations: 48.38 kB / 440.8 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.408, allocations: 0.5495 MB / 441.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.289e-05/0.4081, allocations: 7.984 kB / 441.3 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.602e-05/0.4081, allocations: 27.98 kB / 441.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.4081, allocations: 12 kB / 441.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009033/0.409, allocations: 421 kB / 441.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00322/0.4123, allocations: 1.817 MB / 443.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008883/0.4131, allocations: 0.5054 MB / 444.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.4142, allocations: 417 kB / 444.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.4142, allocations: 4.328 kB / 444.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005911/0.4148, allocations: 302.2 kB / 444.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.623e-06/0.4148, allocations: 0 / 444.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004122/0.4189, allocations: 1.314 MB / 446.1 MB, free: 6.926 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/0.4191, allocations: 239.3 kB / 446.3 MB, free: 6.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.4197, allocations: 441.9 kB / 446.8 MB, free: 6.199 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.4197, allocations: 37.7 kB / 446.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.42, allocations: 312.8 kB / 447.1 MB, free: 5.844 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.4202, allocations: 146.7 kB / 447.3 MB, free: 5.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/0.4204, allocations: 98.2 kB / 447.3 MB, free: 5.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.4206, allocations: 354.8 kB / 447.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003437/0.4209, allocations: 153 kB / 447.8 MB, free: 5.094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005683/0.4215, allocations: 329.5 kB / 448.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007965/0.4223, allocations: 435.5 kB / 448.6 MB, free: 4.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4223, allocations: 3.938 kB / 448.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001844/0.4241, allocations: 0.7756 MB / 449.4 MB, free: 3.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4242, allocations: 4 kB / 449.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.4242, allocations: 4 kB / 449.4 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007565/0.4249, allocations: 220.6 kB / 449.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.4252, allocations: 79.83 kB / 449.7 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005435/0.4307, allocations: 3.143 MB / 452.8 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005868/0.4312, allocations: 79.59 kB / 452.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/0.4313, allocations: 23.98 kB / 452.9 MB, free: 15.76 MB / 366.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 (42): * Single equations (assignments): 41 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0003245/0.4316, allocations: 186.3 kB / 453.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.167e-05/0.4317, allocations: 51.67 kB / 453.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001213/0.4318, allocations: 52.97 kB / 453.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.4318, allocations: 4 kB / 453.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.4318, allocations: 3.984 kB / 453.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.4318, allocations: 3.938 kB / 453.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.4345, allocations: 1.27 MB / 454.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.4345, allocations: 0 / 454.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001812/0.4346, allocations: 39.92 kB / 454.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006616/0.4353, allocations: 216.6 kB / 454.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.4353, allocations: 12 kB / 454.7 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004826/0.4402, allocations: 3.051 MB / 457.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.4402, allocations: 4 kB / 457.8 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002193/0.4424, allocations: 0.9297 MB / 458.7 MB, free: 9.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002283/0.4426, allocations: 136.7 kB / 458.9 MB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-05/0.4427, allocations: 8 kB / 458.9 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.443, allocations: 40.03 kB / 458.9 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/0.4431, allocations: 39.94 kB / 458.9 MB, free: 9.477 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.4432, allocations: 8 kB / 459 MB, free: 9.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00042/0.4436, allocations: 307.1 kB / 459.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4436, allocations: 0 / 459.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000719/0.4443, allocations: 195.7 kB / 459.4 MB, free: 8.98 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 (21): * Single equations (assignments): 19 * 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,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000194/0.4445, allocations: 111.1 kB / 459.6 MB, free: 8.859 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001653/0.4461, allocations: 0.6576 MB / 460.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.4461, allocations: 0 / 460.2 MB, free: 8.188 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008291/0.447, allocations: 409 kB / 460.6 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005259/0.4475, allocations: 85.42 kB / 460.7 MB, free: 7.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.4495, allocations: 0.9401 MB / 461.6 MB, free: 6.734 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.45, allocations: 0.8668 MB / 462.5 MB, free: 5.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002487/0.4503, allocations: 52.3 kB / 462.6 MB, free: 5.785 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.4504, allocations: 31.44 kB / 462.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of SimCode: time 8.81e-07/0.4504, allocations: 0 / 462.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of Templates: time 0.01632/0.4667, allocations: 8.002 MB / 470.6 MB, free: 13.82 MB / 382.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.910904911346734]