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.0008278/0.0008278, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001073/0.001901, allocations: 449.7 kB / 10.37 MB, free: 324 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.0006951/0.0006951, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009165/0.001612, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.037/1.037, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1047/1.142, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.513e-06/1.513e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.898e-05/2.049e-05, allocations: 2.312 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003697/0.003718, allocations: 3.243 MB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.00536, allocations: 0.806 MB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002336/0.005594, allocations: 7.938 kB / 249.1 MB, free: 9.516 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001514/0.005745, allocations: 63.41 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.005973, allocations: 126.9 kB / 249.3 MB, free: 9.328 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.006283, allocations: 111.8 kB / 249.4 MB, free: 9.219 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004722/0.006755, allocations: 465.9 kB / 249.9 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.006957, allocations: 111.1 kB / 250 MB, free: 8.656 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.00733, allocations: 304.4 kB / 250.3 MB, free: 8.359 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001884/0.007519, allocations: 147.5 kB / 250.4 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.007562, allocations: 44 kB / 250.5 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.007664, allocations: 44 kB / 250.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.007708, allocations: 67.81 kB / 250.6 MB, free: 8.062 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.007802, allocations: 115.8 kB / 250.7 MB, free: 7.949 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.008147, allocations: 275 kB / 250.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.871e-05/0.008165, allocations: 0 / 250.9 MB, free: 7.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.008167, allocations: 4 kB / 251 MB, free: 7.676 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.008187, allocations: 0 / 251 MB, free: 7.676 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.0008915/0.009079, allocations: 0.6399 MB / 251.6 MB, free: 7.012 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.009122, allocations: 8.031 kB / 251.6 MB, free: 7.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.009313, allocations: 138 kB / 251.7 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002796/0.009592, allocations: 209.2 kB / 251.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.009613, allocations: 29.02 kB / 252 MB, free: 6.594 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.009641, allocations: 36.38 kB / 252 MB, free: 6.559 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.009936, allocations: 318 kB / 252.3 MB, free: 6.211 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.009948, allocations: 192 / 252.3 MB, free: 6.211 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.196e-05/0.00997, allocations: 16.38 kB / 252.3 MB, free: 6.195 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.312e-05/0.009984, allocations: 11.94 kB / 252.3 MB, free: 6.184 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.01009, allocations: 84.55 kB / 252.4 MB, free: 6.102 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001124/0.01122, allocations: 0.8458 MB / 253.3 MB, free: 5.199 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.01142, allocations: 110.5 kB / 253.4 MB, free: 5.082 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.37e-05/0.01147, allocations: 40.83 kB / 253.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.01149, allocations: 4 kB / 253.4 MB, free: 5.035 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.01152, allocations: 38.5 kB / 253.5 MB, free: 4.988 MB / 250.7 MB Notification: Performance of pre-optimization done (n=18): time 3.186e-06/0.01152, allocations: 4 kB / 253.5 MB, free: 4.984 MB / 250.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009337/0.01246, allocations: 270.3 kB / 253.7 MB, free: 4.711 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.239e-05/0.01249, allocations: 59.39 kB / 253.8 MB, free: 4.641 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.01266, allocations: 241 kB / 254 MB, free: 4.395 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.01268, allocations: 33.64 kB / 254.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.768e-05/0.01277, allocations: 208.6 kB / 254.3 MB, free: 4.145 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.482e-05/0.0128, allocations: 67.44 kB / 254.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.01285, allocations: 49.69 kB / 254.4 MB, free: 4.023 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.375e-05/0.01295, allocations: 338.8 kB / 254.7 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.841e-05/0.01298, allocations: 19.98 kB / 254.7 MB, free: 3.664 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.761e-05/0.01304, allocations: 101.3 kB / 254.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.01316, allocations: 148.6 kB / 255 MB, free: 3.355 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.01317, allocations: 8 kB / 255 MB, free: 3.348 MB / 250.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002661/0.01343, allocations: 206.1 kB / 255.2 MB, free: 3.137 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.01345, allocations: 7.984 kB / 255.2 MB, free: 3.129 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.01346, allocations: 4 kB / 255.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.01376, allocations: 104.9 kB / 255.3 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.01386, allocations: 39.92 kB / 255.3 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.0152, allocations: 1.651 MB / 257 MB, free: 1.238 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/0.0153, allocations: 23.84 kB / 257 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.01532, allocations: 12 kB / 257 MB, free: 1.203 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 9.659e-05/0.01541, allocations: 133.7 kB / 257.1 MB, free: 1.062 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.58e-05/0.01545, allocations: 19.97 kB / 257.2 MB, free: 1.043 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.224e-05/0.01548, allocations: 34.11 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.01548, allocations: 0 / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.01549, allocations: 4 kB / 257.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01549, allocations: 0 / 257.2 MB, free: 1.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004239/0.01592, allocations: 382.8 kB / 257.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.01592, allocations: 0 / 257.6 MB, free: 0.6133 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.01596, allocations: 23.92 kB / 257.6 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.41e-05/0.01599, allocations: 27.78 kB / 257.6 MB, free: 0.5625 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002175/0.01621, allocations: 88.77 kB / 257.7 MB, free: 484 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01622, allocations: 8 kB / 257.7 MB, free: 476 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/0.01728, allocations: 1.616 MB / 259.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.01728, allocations: 0 / 259.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002104/0.01749, allocations: 252.6 kB / 259.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.622e-05/0.0175, allocations: 4 kB / 259.6 MB, free: 14.48 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.01758, allocations: 23.86 kB / 259.6 MB, free: 14.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.01762, allocations: 19.97 kB / 259.6 MB, free: 14.44 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.01763, allocations: 7.984 kB / 259.6 MB, free: 14.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.52e-05/0.0177, allocations: 86.77 kB / 259.7 MB, free: 14.35 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.1e-08/0.0177, allocations: 4 kB / 259.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002867/0.01798, allocations: 95.78 kB / 259.8 MB, free: 14.25 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.0001138/0.0181, allocations: 76.42 kB / 259.9 MB, free: 14.17 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003162/0.01841, allocations: 261.9 kB / 260.1 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/0.01843, allocations: 4 kB / 260.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.01856, allocations: 191.4 kB / 260.3 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.01879, allocations: 59.59 kB / 260.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002497/0.02129, allocations: 0.5507 MB / 260.9 MB, free: 13.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.497e-05/0.02136, allocations: 92.55 kB / 261 MB, free: 12.95 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.688e-05/0.02142, allocations: 26.27 kB / 261.1 MB, free: 12.92 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.875e-05/0.02152, allocations: 91.34 kB / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of SimCode: time 1.172e-06/0.02152, allocations: 0 / 261.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Templates: time 0.006015/0.02754, allocations: 3.789 MB / 264.9 MB, free: 9.082 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,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.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.4871411910280585]