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.0007359/0.0007359, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001215/0.001951, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0007568/0.0007568, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009935/0.00175, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9904/0.9904, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08807/1.078, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.7 MB " [Timeout remaining time 179] 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.232e-06/1.232e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.965e-05/2.088e-05, allocations: 6.312 kB / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003524/0.003545, allocations: 3.251 MB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.004846, allocations: 0.8022 MB / 249.3 MB, free: 9.414 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.005026, allocations: 7.938 kB / 249.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.005152, allocations: 63.36 kB / 249.4 MB, free: 9.344 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001868/0.005339, allocations: 127 kB / 249.5 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002246/0.005564, allocations: 119.7 kB / 249.6 MB, free: 9.102 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003483/0.005912, allocations: 457.9 kB / 250.1 MB, free: 8.652 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001754/0.006088, allocations: 119.1 kB / 250.2 MB, free: 8.539 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003763/0.006464, allocations: 296.4 kB / 250.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001787/0.006642, allocations: 147.5 kB / 250.6 MB, free: 8.105 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.244e-05/0.006685, allocations: 44 kB / 250.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.968e-05/0.006775, allocations: 48 kB / 250.7 MB, free: 8.016 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.006818, allocations: 67.81 kB / 250.8 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.963e-05/0.006898, allocations: 115.8 kB / 250.9 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.007171, allocations: 279 kB / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.007182, allocations: 0 / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007183, allocations: 0 / 251.1 MB, free: 7.562 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.025e-05/0.007194, allocations: 0 / 251.1 MB, free: 7.562 MB / 250.7 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.0006553/0.007849, allocations: 0.6321 MB / 251.8 MB, free: 6.906 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.007878, allocations: 12.02 kB / 251.8 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001755/0.008054, allocations: 138 kB / 251.9 MB, free: 6.742 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.008314, allocations: 209.2 kB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.773e-05/0.008332, allocations: 25.03 kB / 252.2 MB, free: 6.488 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.008365, allocations: 44.31 kB / 252.2 MB, free: 6.445 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.00863, allocations: 310.1 kB / 252.5 MB, free: 6.105 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.008643, allocations: 4.172 kB / 252.5 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.008662, allocations: 16.38 kB / 252.5 MB, free: 6.086 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.008671, allocations: 11.94 kB / 252.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.008772, allocations: 76.56 kB / 252.6 MB, free: 6.004 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.009679, allocations: 0.8497 MB / 253.5 MB, free: 5.098 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.009859, allocations: 118.4 kB / 253.6 MB, free: 4.977 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.163e-05/0.009901, allocations: 44.83 kB / 253.6 MB, free: 4.93 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.84e-05/0.009919, allocations: 4 kB / 253.6 MB, free: 4.926 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.009941, allocations: 38.5 kB / 253.7 MB, free: 4.879 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.009942, allocations: 4 kB / 253.7 MB, free: 4.875 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007932/0.01074, allocations: 273.6 kB / 253.9 MB, free: 4.602 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.113e-05/0.01076, allocations: 55.41 kB / 254 MB, free: 4.535 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.01089, allocations: 240.9 kB / 254.2 MB, free: 4.289 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.01091, allocations: 29.7 kB / 254.2 MB, free: 4.254 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.59e-05/0.01098, allocations: 212.6 kB / 254.5 MB, free: 4.035 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.01101, allocations: 59.47 kB / 254.5 MB, free: 3.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.953e-05/0.01106, allocations: 49.69 kB / 254.6 MB, free: 3.922 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.334e-05/0.01113, allocations: 338.8 kB / 254.9 MB, free: 3.582 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.01116, allocations: 27.97 kB / 254.9 MB, free: 3.555 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.366e-05/0.01123, allocations: 105.3 kB / 255 MB, free: 3.418 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01134, allocations: 160.5 kB / 255.2 MB, free: 3.23 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.01134, allocations: 3.938 kB / 255.2 MB, free: 3.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000237/0.01158, allocations: 206 kB / 255.4 MB, free: 3.016 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.01159, allocations: 4.312 kB / 255.4 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.0116, allocations: 8 kB / 255.4 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002689/0.01187, allocations: 104.6 kB / 255.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.01196, allocations: 43.92 kB / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.01309, allocations: 1.644 MB / 257.2 MB, free: 1.121 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.115e-05/0.01318, allocations: 27.84 kB / 257.2 MB, free: 1.094 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.01319, allocations: 12 kB / 257.2 MB, free: 1.082 MB / 250.7 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 8.066e-05/0.01327, allocations: 129.7 kB / 257.3 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.723e-05/0.0133, allocations: 19.97 kB / 257.4 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.609e-05/0.01333, allocations: 30.11 kB / 257.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.01333, allocations: 0 / 257.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01333, allocations: 0 / 257.4 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01333, allocations: 4 kB / 257.4 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000366/0.0137, allocations: 383.5 kB / 257.8 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.0137, allocations: 11.94 kB / 257.8 MB, free: 496 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.002e-05/0.01374, allocations: 15.98 kB / 257.8 MB, free: 480 kB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.24e-05/0.01377, allocations: 23.78 kB / 257.8 MB, free: 456 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002025/0.01397, allocations: 92.77 kB / 257.9 MB, free: 360 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.684e-06/0.01398, allocations: 4 kB / 257.9 MB, free: 356 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009285/0.0149, allocations: 1.62 MB / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.01491, allocations: 0 / 259.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.01517, allocations: 255.7 kB / 259.8 MB, free: 14.37 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.01519, allocations: 7.938 kB / 259.8 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.01531, allocations: 20.02 kB / 259.8 MB, free: 14.34 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.054e-05/0.01536, allocations: 23.94 kB / 259.8 MB, free: 14.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.01537, allocations: 8 kB / 259.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.046e-05/0.01545, allocations: 78.78 kB / 259.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01545, allocations: 0 / 259.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.01584, allocations: 99.78 kB / 260 MB, free: 14.14 MB / 266.7 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.0001065/0.01595, allocations: 76.42 kB / 260.1 MB, free: 14.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.01627, allocations: 265.3 kB / 260.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/0.01628, allocations: 4 kB / 260.4 MB, free: 13.78 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.01646, allocations: 207.2 kB / 260.6 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.01682, allocations: 328 kB / 260.9 MB, free: 13.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.0198, allocations: 0.54 MB / 261.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.575e-05/0.01987, allocations: 92.55 kB / 261.5 MB, free: 12.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.158e-05/0.01995, allocations: 26.28 kB / 261.5 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.02008, allocations: 95.34 kB / 261.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02008, allocations: 0 / 261.6 MB, free: 12.38 MB / 266.7 MB Notification: Performance of Templates: time 0.006864/0.02694, allocations: 3.902 MB / 265.5 MB, free: 8.523 MB / 266.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [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.r.useHeatPort,add.r1.R,add.r1.T,add.r1.T_ref,add.r1.alpha,add.r1.useHeatPort,add.r2.R,add.r2.T,add.r2.T_ref,add.r2.alpha,add.r2.useHeatPort,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 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Adder.diff.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/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.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.6519050942733884]