Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.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.001798/0.001798, allocations: 115.1 kB / 20.44 MB, free: 1.344 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.002206/0.002206, allocations: 205.8 kB / 23.72 MB, free: 4.535 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.516/1.516, 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.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Adder,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 64.14 kB / 378.3 MB, free: 2.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2904/0.2924, allocations: 53.41 MB / 431.7 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.004935/0.2974, allocations: 2.976 MB / 434.6 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.299, allocations: 0.7673 MB / 435.4 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.2992, allocations: 7.938 kB / 435.4 MB, free: 2.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002025/0.2994, allocations: 67.36 kB / 435.5 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002539/0.2997, allocations: 123 kB / 435.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000345/0.3, allocations: 115.8 kB / 435.7 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005478/0.3006, allocations: 442.2 kB / 436.1 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.3008, allocations: 104 kB / 436.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002989/0.3011, allocations: 183.3 kB / 436.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002498/0.3014, allocations: 163.1 kB / 436.6 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.519e-05/0.3014, allocations: 40 kB / 436.6 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.3016, allocations: 48 kB / 436.7 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.468e-05/0.3017, allocations: 87.75 kB / 436.8 MB, free: 1.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001942/0.3018, allocations: 171.2 kB / 436.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006393/0.3025, allocations: 0.5123 MB / 437.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.3025, allocations: 0 / 437.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3025, allocations: 0 / 437.4 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.3025, allocations: 4 kB / 437.4 MB, free: 0.7305 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001103/0.3036, allocations: 0.583 MB / 438 MB, free: 116 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.3037, allocations: 15.98 kB / 438 MB, free: 100 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.3039, allocations: 52.64 kB / 438.1 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005513/0.3044, allocations: 257.8 kB / 438.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.362e-05/0.3044, allocations: 28.97 kB / 438.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.415e-05/0.3045, allocations: 28.38 kB / 438.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006624/0.3052, allocations: 413.2 kB / 438.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.3052, allocations: 3.938 kB / 438.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.51e-05/0.3052, allocations: 20 kB / 438.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.3052, allocations: 8 kB / 438.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005/0.3057, allocations: 242.5 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001917/0.3077, allocations: 1.015 MB / 440.1 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004462/0.3081, allocations: 178.7 kB / 440.3 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.3083, allocations: 80.77 kB / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.3083, allocations: 0 / 440.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.3083, allocations: 34.56 kB / 440.4 MB, free: 13.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.012e-06/0.3083, allocations: 3.938 kB / 440.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001432/0.3097, allocations: 410.2 kB / 440.8 MB, free: 13.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.3098, allocations: 59.34 kB / 440.8 MB, free: 13.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/0.3101, allocations: 273.8 kB / 441.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.3102, allocations: 29.7 kB / 441.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001812/0.3103, allocations: 228.1 kB / 441.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.595e-05/0.3104, allocations: 63.47 kB / 441.4 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.673e-05/0.3105, allocations: 53.66 kB / 441.5 MB, free: 12.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3107, allocations: 334.8 kB / 441.8 MB, free: 12.15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3108, allocations: 59.98 kB / 441.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.311, allocations: 141.4 kB / 442 MB, free: 11.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003511/0.3114, allocations: 224.5 kB / 442.2 MB, free: 11.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.3114, allocations: 4 kB / 442.2 MB, free: 11.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006991/0.3121, allocations: 338.1 kB / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3121, allocations: 4 kB / 442.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.3121, allocations: 4 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000456/0.3125, allocations: 104.9 kB / 442.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/0.3127, allocations: 43.91 kB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002796/0.3155, allocations: 2.022 MB / 444.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.3157, allocations: 31.77 kB / 444.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.3157, allocations: 12 kB / 444.8 MB, free: 8.996 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satNeg,add.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.3159, allocations: 153.8 kB / 444.9 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.316, allocations: 27.8 kB / 444.9 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.571e-05/0.316, allocations: 30.05 kB / 445 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.316, allocations: 4 kB / 445 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.316, allocations: 4 kB / 445 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.316, allocations: 0 / 445 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009903/0.317, allocations: 0.5753 MB / 445.6 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.317, allocations: 3.938 kB / 445.6 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.917e-05/0.3171, allocations: 15.98 kB / 445.6 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003535/0.3175, allocations: 96.7 kB / 445.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3175, allocations: 4 kB / 445.7 MB, free: 8.039 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002465/0.32, allocations: 2.014 MB / 447.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.32, allocations: 3.984 kB / 447.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006072/0.3206, allocations: 352.4 kB / 448 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.3206, allocations: 23.8 kB / 448.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3206, allocations: 8 kB / 448.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.3208, allocations: 23.98 kB / 448.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.816e-05/0.3209, allocations: 19.95 kB / 448.1 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.3209, allocations: 4 kB / 448.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3211, allocations: 189.2 kB / 448.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3211, allocations: 0 / 448.3 MB, free: 5.285 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000514/0.3216, allocations: 103.7 kB / 448.4 MB, free: 5.184 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (add.opAmp.satPos,add.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * 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,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.3218, allocations: 103.2 kB / 448.5 MB, free: 5.074 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006597/0.3225, allocations: 317.9 kB / 448.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3225, allocations: 0 / 448.8 MB, free: 4.754 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003222/0.3228, allocations: 221 kB / 449 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003717/0.3232, allocations: 49.31 kB / 449.1 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.3242, allocations: 0.5323 MB / 449.6 MB, free: 3.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3244, allocations: 168.8 kB / 449.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.3245, allocations: 22.3 kB / 449.8 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.3245, allocations: 19.42 kB / 449.8 MB, free: 3.691 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3245, allocations: 4 kB / 449.8 MB, free: 3.688 MB / 350.1 MB Notification: Performance of Templates: time 0.008639/0.3332, allocations: 3.75 MB / 453.6 MB, free: 15.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Adder/Adder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,vOut.v Variables in the result:Vin,add.R,add.R1,add.R2,add.V0,add.Vns,add.Vps,add.k1,add.k2,add.opAmp.Tau,add.opAmp.V0,add.opAmp.Vns,add.opAmp.Vps,add.opAmp.initOpAmp,add.opAmp.useFirstOrder,add.opAmp.useSupply,add.r.R,add.r.T,add.r.T_ref,add.r.alpha,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.v2,f,time,vIn1.V,vIn1.f,vIn1.offset,vIn1.phase,vIn1.signalSource.amplitude,vIn1.signalSource.continuous,vIn1.signalSource.f,vIn1.signalSource.offset,vIn1.signalSource.phase,vIn1.signalSource.startTime,vIn1.startTime,vIn2.V,vOut.v [Calling sys.exit(0), Time elapsed: 4.820496637374163]