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.001693/0.001693, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001412/0.001412, allocations: 158.6 kB / 23.95 MB, free: 4.168 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.451/1.451, allocations: 177 MB / 204.1 MB, free: 9.141 MB / 190.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 1.633e-06/1.633e-06, allocations: 0 / 325 MB, free: 452 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.321e-05/3.485e-05, allocations: 2.281 kB / 325.1 MB, free: 448 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.005107/0.005142, allocations: 2.985 MB / 328 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001843/0.006985, allocations: 0.7715 MB / 328.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.007178, allocations: 6.375 kB / 328.8 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002004/0.007379, allocations: 59.16 kB / 328.9 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.007657, allocations: 131 kB / 329 MB, free: 13.74 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.008037, allocations: 119.7 kB / 329.1 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005446/0.008581, allocations: 459.7 kB / 329.6 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002526/0.008834, allocations: 100.4 kB / 329.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.009255, allocations: 266.7 kB / 329.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002396/0.009494, allocations: 135.1 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.009564, allocations: 42.84 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.009672, allocations: 50.03 kB / 330.1 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.009769, allocations: 87.98 kB / 330.2 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001897/0.009959, allocations: 144 kB / 330.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006583/0.01062, allocations: 0.523 MB / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.01062, allocations: 0 / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01062, allocations: 0 / 330.9 MB, free: 12.75 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.01063, allocations: 3.938 kB / 330.9 MB, free: 12.74 MB / 302.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.001097/0.01173, allocations: 0.583 MB / 331.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.01177, allocations: 13.2 kB / 331.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002045/0.01197, allocations: 55.2 kB / 331.6 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004992/0.01247, allocations: 258.9 kB / 331.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.0125, allocations: 26.19 kB / 331.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.01255, allocations: 33 kB / 331.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006278/0.01318, allocations: 405.1 kB / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.0132, allocations: 192 / 332.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.722e-05/0.01323, allocations: 15.94 kB / 332.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01325, allocations: 11.84 kB / 332.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004997/0.01375, allocations: 247 kB / 332.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001864/0.01561, allocations: 1.011 MB / 333.5 MB, free: 10.71 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004388/0.01605, allocations: 181.9 kB / 333.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.01623, allocations: 84.8 kB / 333.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.01626, allocations: 2.75 kB / 333.8 MB, free: 10.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.01629, allocations: 32.88 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of pre-optimization done (n=18): time 4.999e-06/0.01629, allocations: 3.984 kB / 333.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of matching and sorting (n=18): time 0.00148/0.01777, allocations: 418.5 kB / 334.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.01782, allocations: 53.97 kB / 334.3 MB, free: 10.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.01813, allocations: 269.3 kB / 334.6 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.877e-05/0.01816, allocations: 34.67 kB / 334.6 MB, free: 10 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001587/0.01832, allocations: 220.1 kB / 334.8 MB, free: 9.801 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.61e-05/0.01837, allocations: 62.95 kB / 334.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/0.01847, allocations: 55.31 kB / 334.9 MB, free: 9.703 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001559/0.01862, allocations: 332.8 kB / 335.2 MB, free: 9.375 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.01877, allocations: 70.55 kB / 335.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002038/0.01897, allocations: 138.4 kB / 335.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003477/0.01932, allocations: 210.9 kB / 335.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.01933, allocations: 5.125 kB / 335.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007194/0.02005, allocations: 343.4 kB / 336 MB, free: 8.859 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.02007, allocations: 12.88 kB / 336 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.02008, allocations: 2.438 kB / 336 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.02054, allocations: 106.7 kB / 336.1 MB, free: 8.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000163/0.0207, allocations: 33.36 kB / 336.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002968/0.02367, allocations: 2.027 MB / 338.2 MB, free: 7.012 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.02389, allocations: 25.12 kB / 338.2 MB, free: 6.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.02391, allocations: 17.12 kB / 338.2 MB, free: 6.988 MB / 302.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.00021/0.02412, allocations: 150.2 kB / 338.4 MB, free: 6.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.02418, allocations: 24.42 kB / 338.4 MB, free: 6.836 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.02424, allocations: 33.05 kB / 338.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.02424, allocations: 1.344 kB / 338.4 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.02425, allocations: 3.938 kB / 338.4 MB, free: 6.809 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.02425, allocations: 5.203 kB / 338.4 MB, free: 6.805 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.02526, allocations: 0.5718 MB / 339 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.02527, allocations: 0 / 339 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.658e-05/0.02534, allocations: 11.56 kB / 339 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003529/0.0257, allocations: 94.64 kB / 339.1 MB, free: 6.309 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.02571, allocations: 9.156 kB / 339.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.02834, allocations: 2.021 MB / 341.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.02834, allocations: 0 / 341.1 MB, free: 4.352 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.029, allocations: 352.4 kB / 341.5 MB, free: 3.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.175e-05/0.02906, allocations: 23.84 kB / 341.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.02909, allocations: 8.062 kB / 341.5 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.02929, allocations: 19.98 kB / 341.5 MB, free: 3.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.066e-05/0.02937, allocations: 19.91 kB / 341.6 MB, free: 3.918 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.02939, allocations: 4 kB / 341.6 MB, free: 3.914 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.0296, allocations: 197.1 kB / 341.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0296, allocations: 0 / 341.7 MB, free: 3.719 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005282/0.03013, allocations: 103.7 kB / 341.9 MB, free: 3.617 MB / 302.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.0001442/0.03027, allocations: 103.2 kB / 342 MB, free: 3.504 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006294/0.0309, allocations: 309 kB / 342.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.0309, allocations: 0 / 342.3 MB, free: 3.188 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003296/0.03123, allocations: 231 kB / 342.5 MB, free: 2.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.03162, allocations: 43.06 kB / 342.5 MB, free: 2.91 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.03265, allocations: 0.5103 MB / 343 MB, free: 2.375 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002856/0.03293, allocations: 164.8 kB / 343.2 MB, free: 2.191 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.03303, allocations: 26.28 kB / 343.2 MB, free: 2.168 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.0331, allocations: 20.5 kB / 343.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0331, allocations: 0 / 343.2 MB, free: 2.148 MB / 302.1 MB Notification: Performance of Templates: time 0.009155/0.04226, allocations: 3.38 MB / 346.6 MB, free: 14.8 MB / 318.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.4304380640387535]