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.001133/0.001133, allocations: 84.73 kB / 21.5 MB, free: 2.988 MB / 18.57 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.0008856/0.0008856, allocations: 160.2 kB / 24.91 MB, free: 8.77 MB / 18.57 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.939/0.939, allocations: 177 MB / 205.2 MB, free: 5.457 MB / 186.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.493e-06/1.493e-06, allocations: 0 / 273.5 MB, free: 1.145 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.039e-05, allocations: 2.312 kB / 273.5 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Adder): time 0.003525/0.003546, allocations: 3.227 MB / 276.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.004759, allocations: 0.7982 MB / 277.5 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001519/0.004911, allocations: 11.94 kB / 277.5 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.005071, allocations: 67.36 kB / 277.6 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.005242, allocations: 119 kB / 277.7 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.005473, allocations: 123.7 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.005785, allocations: 461.9 kB / 278.3 MB, free: 12.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.005955, allocations: 119.1 kB / 278.4 MB, free: 12.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.006206, allocations: 259.5 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.006361, allocations: 139.6 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.002e-05/0.006401, allocations: 40 kB / 278.8 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.571e-05/0.006477, allocations: 52 kB / 278.9 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.006525, allocations: 99.59 kB / 279 MB, free: 11.62 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.324e-05/0.006609, allocations: 131.7 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.006887, allocations: 298.8 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.00689, allocations: 4 kB / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006891, allocations: 0 / 279.4 MB, free: 11.2 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.006895, allocations: 0 / 279.4 MB, free: 11.2 MB / 266.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.0005608/0.007456, allocations: 0.5582 MB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.007491, allocations: 15.98 kB / 280 MB, free: 10.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.007613, allocations: 60.89 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.007835, allocations: 209.1 kB / 280.2 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.007852, allocations: 29.03 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.007878, allocations: 32.38 kB / 280.3 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.008117, allocations: 314.1 kB / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008128, allocations: 192 / 280.6 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.786e-05/0.008146, allocations: 16.38 kB / 280.6 MB, free: 9.895 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.008154, allocations: 11.94 kB / 280.6 MB, free: 9.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.008255, allocations: 88.47 kB / 280.7 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008639/0.009119, allocations: 0.8459 MB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.009282, allocations: 110.5 kB / 281.7 MB, free: 8.785 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.015e-05/0.009322, allocations: 36.84 kB / 281.7 MB, free: 8.746 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.009336, allocations: 4 kB / 281.7 MB, free: 8.742 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.283e-05/0.009359, allocations: 42.53 kB / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of pre-optimization done (n=18): time 1.052e-06/0.00936, allocations: 0 / 281.7 MB, free: 8.691 MB / 266.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005294/0.009889, allocations: 277.4 kB / 282 MB, free: 8.414 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.232e-05/0.009912, allocations: 55.41 kB / 282.1 MB, free: 8.348 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.01004, allocations: 240.9 kB / 282.3 MB, free: 8.102 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.145e-05/0.01006, allocations: 25.7 kB / 282.3 MB, free: 8.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.01013, allocations: 216.6 kB / 282.5 MB, free: 7.855 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.01016, allocations: 63.45 kB / 282.6 MB, free: 7.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.759e-05/0.0102, allocations: 53.64 kB / 282.6 MB, free: 7.734 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.682e-05/0.01028, allocations: 342.8 kB / 283 MB, free: 7.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.769e-05/0.01031, allocations: 27.92 kB / 283 MB, free: 7.363 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.733e-05/0.01037, allocations: 97.39 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.01049, allocations: 157.2 kB / 283.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.01049, allocations: 0 / 283.3 MB, free: 7.047 MB / 266.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005719/0.01106, allocations: 217.6 kB / 283.5 MB, free: 6.828 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.01107, allocations: 4 kB / 283.5 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.01108, allocations: 4 kB / 283.5 MB, free: 6.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002633/0.01134, allocations: 96.78 kB / 283.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.01142, allocations: 39.92 kB / 283.6 MB, free: 6.684 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001075/0.01249, allocations: 1.635 MB / 285.2 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.897e-05/0.01257, allocations: 31.78 kB / 285.3 MB, free: 4.922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.01258, allocations: 8.078 kB / 285.3 MB, free: 4.914 MB / 266.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.456e-05/0.01267, allocations: 129.7 kB / 285.4 MB, free: 4.777 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.0127, allocations: 19.97 kB / 285.4 MB, free: 4.758 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.01272, allocations: 30.11 kB / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.01273, allocations: 0 / 285.5 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-06/0.01273, allocations: 4.031 kB / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.01273, allocations: 0 / 285.5 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.01309, allocations: 395.4 kB / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.0131, allocations: 0 / 285.9 MB, free: 4.312 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.01313, allocations: 15.98 kB / 285.9 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000206/0.01333, allocations: 100.7 kB / 286 MB, free: 4.195 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01334, allocations: 8 kB / 286 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009006/0.01425, allocations: 1.62 MB / 287.6 MB, free: 2.473 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.01425, allocations: 4 kB / 287.6 MB, free: 2.469 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.01444, allocations: 251.4 kB / 287.8 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.983e-05/0.01446, allocations: 19.8 kB / 287.9 MB, free: 2.188 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.01447, allocations: 12.03 kB / 287.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.615e-05/0.01455, allocations: 19.92 kB / 287.9 MB, free: 2.156 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.01459, allocations: 19.91 kB / 287.9 MB, free: 2.137 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.0146, allocations: 11.98 kB / 287.9 MB, free: 2.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.735e-05/0.01465, allocations: 78.77 kB / 288 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01465, allocations: 0 / 288 MB, free: 2.043 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002438/0.0149, allocations: 103.8 kB / 288.1 MB, free: 1.941 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 7.139e-05/0.01497, allocations: 80.42 kB / 288.2 MB, free: 1.855 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002507/0.01522, allocations: 253.4 kB / 288.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.01522, allocations: 0 / 288.4 MB, free: 1.594 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.01535, allocations: 203.1 kB / 288.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.01553, allocations: 44.91 kB / 288.7 MB, free: 1.336 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007243/0.01626, allocations: 0.5088 MB / 289.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.129e-05/0.01632, allocations: 96.42 kB / 289.3 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.958e-05/0.01638, allocations: 22.28 kB / 289.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.935e-05/0.01648, allocations: 91.36 kB / 289.4 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01648, allocations: 7.938 kB / 289.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of Templates: time 0.005178/0.02166, allocations: 3.656 MB / 293.1 MB, free: 12.96 MB / 282.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 -s gbode -gbm=radauIIA3 -emit_protected -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.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 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.590577451977879]