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.00129/0.00129, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.001351/0.001351, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.474/1.474, allocations: 230.4 MB / 255.4 MB, free: 15 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.002908/0.002908, allocations: 71.88 kB / 374.8 MB, free: 9.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1198, allocations: 53.31 MB / 428.1 MB, free: 4.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.DifferentialAmplifier): time 0.2106/0.3304, allocations: 4.497 MB / 432.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.3329, allocations: 1.289 MB / 433.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.3332, allocations: 13.69 kB / 433.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004646/0.3337, allocations: 145.9 kB / 434 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.3341, allocations: 216.1 kB / 434.3 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004758/0.3346, allocations: 211.9 kB / 434.5 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.3353, allocations: 0.7647 MB / 435.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000344/0.3357, allocations: 191.5 kB / 435.4 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.3361, allocations: 296.5 kB / 435.7 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/0.3365, allocations: 329.6 kB / 436 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3366, allocations: 64.38 kB / 436.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.3367, allocations: 68.58 kB / 436.2 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001178/0.3369, allocations: 154 kB / 436.3 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002838/0.3371, allocations: 344.3 kB / 436.6 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008765/0.338, allocations: 0.7582 MB / 437.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.338, allocations: 0 / 437.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.338, allocations: 0 / 437.4 MB, free: 7.281 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.338, allocations: 0 / 437.4 MB, free: 7.281 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.00166/0.3397, allocations: 0.9791 MB / 438.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3397, allocations: 9.25 kB / 438.4 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003195/0.3401, allocations: 99.59 kB / 438.5 MB, free: 6.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.3405, allocations: 428.3 kB / 438.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.3406, allocations: 43.53 kB / 438.9 MB, free: 6.203 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.737e-05/0.3407, allocations: 51.69 kB / 439 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.3417, allocations: 0.5493 MB / 439.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.3417, allocations: 0.9688 kB / 439.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.3417, allocations: 25.44 kB / 439.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.3418, allocations: 14.41 kB / 439.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/0.3426, allocations: 421.5 kB / 440 MB, free: 5.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002971/0.3456, allocations: 1.831 MB / 441.8 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000771/0.3464, allocations: 0.4943 MB / 442.3 MB, free: 4.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3474, allocations: 421.2 kB / 442.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.782e-05/0.3475, allocations: 5.672 kB / 442.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005429/0.348, allocations: 304.8 kB / 443 MB, free: 4.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 1.964e-06/0.348, allocations: 0 / 443 MB, free: 4.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=41): time 0.004203/0.3522, allocations: 1.296 MB / 444.3 MB, free: 3.699 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.3523, allocations: 238.9 kB / 444.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005766/0.3529, allocations: 440 kB / 445 MB, free: 3.207 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.3529, allocations: 31.92 kB / 445 MB, free: 3.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3531, allocations: 322.5 kB / 445.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.706e-05/0.3532, allocations: 149.7 kB / 445.5 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3533, allocations: 90.66 kB / 445.6 MB, free: 2.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.3534, allocations: 358.4 kB / 445.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003373/0.3538, allocations: 148.6 kB / 446.1 MB, free: 2.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004206/0.3542, allocations: 328.7 kB / 446.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006912/0.3549, allocations: 443.9 kB / 446.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.3549, allocations: 5.156 kB / 446.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001764/0.3567, allocations: 0.7839 MB / 447.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.3567, allocations: 6.375 kB / 447.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.3567, allocations: 3.844 kB / 447.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000847/0.3575, allocations: 215.4 kB / 447.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.3579, allocations: 72.42 kB / 447.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.3638, allocations: 3.14 MB / 451 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000643/0.3644, allocations: 84.89 kB / 451.1 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.3645, allocations: 19.66 kB / 451.1 MB, free: 15.28 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.0003271/0.3648, allocations: 183 kB / 451.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.52e-05/0.3649, allocations: 49.31 kB / 451.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.365, allocations: 59.36 kB / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.365, allocations: 6.5 kB / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.365, allocations: 0 / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.365, allocations: 2.062 kB / 451.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.3676, allocations: 1.281 MB / 452.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3676, allocations: 0.7031 kB / 452.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001842/0.3678, allocations: 35.52 kB / 452.8 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006626/0.3684, allocations: 221.1 kB / 453 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.815e-05/0.3685, allocations: 7.531 kB / 453 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004834/0.3733, allocations: 3.048 MB / 456 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3733, allocations: 7.938 kB / 456 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/0.3755, allocations: 0.9341 MB / 457 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/0.3757, allocations: 133.2 kB / 457.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.061e-05/0.3758, allocations: 9.219 kB / 457.1 MB, free: 11.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003702/0.3761, allocations: 46.03 kB / 457.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.806e-05/0.3762, allocations: 31.42 kB / 457.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.604e-05/0.3763, allocations: 15.61 kB / 457.2 MB, free: 11.59 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.3766, allocations: 303.2 kB / 457.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3766, allocations: 1.219 kB / 457.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000759/0.3774, allocations: 186.9 kB / 457.7 MB, free: 11.4 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.0002145/0.3776, allocations: 117.1 kB / 457.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001649/0.3793, allocations: 0.6551 MB / 458.4 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.3793, allocations: 2 kB / 458.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007915/0.3801, allocations: 405.5 kB / 458.8 MB, free: 10.8 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005359/0.3806, allocations: 86.22 kB / 458.9 MB, free: 10.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001892/0.3825, allocations: 0.9711 MB / 459.9 MB, free: 10.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/0.3831, allocations: 0.8618 MB / 460.8 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000112/0.3832, allocations: 42.05 kB / 460.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3832, allocations: 0 / 460.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of Templates: time 0.01339/0.3966, allocations: 8.499 MB / 469.3 MB, free: 5.133 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/DifferentialAmplifier/DifferentialAmplifier.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.034281901083887]