Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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.001823/0.001823, allocations: 86.41 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.002441/0.002441, allocations: 159.4 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.521/1.521, allocations: 177 MB / 204.1 MB, free: 9.18 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.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.103e-06/2.103e-06, allocations: 0.75 kB / 325.1 MB, free: 484 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.65e-05, allocations: 3.469 kB / 325.1 MB, free: 480 kB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004902/0.004929, allocations: 3.133 MB / 328.2 MB, free: 14.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.006929, allocations: 0.813 MB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002486/0.007177, allocations: 11.38 kB / 329 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.007395, allocations: 66.27 kB / 329.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000321/0.007716, allocations: 137.4 kB / 329.2 MB, free: 13.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.008142, allocations: 136.3 kB / 329.3 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005891/0.008731, allocations: 0.5146 MB / 329.9 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.009039, allocations: 116.8 kB / 330 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004732/0.009512, allocations: 295.5 kB / 330.3 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.009799, allocations: 148.7 kB / 330.4 MB, free: 13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.055e-05/0.00987, allocations: 53.84 kB / 330.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.009987, allocations: 55.06 kB / 330.5 MB, free: 13 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.01009, allocations: 93.83 kB / 330.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.01029, allocations: 160.5 kB / 330.8 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007455/0.01104, allocations: 0.5912 MB / 331.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.01104, allocations: 0 / 331.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.01105, allocations: 0 / 331.4 MB, free: 12.44 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.01105, allocations: 1.188 kB / 331.4 MB, free: 12.44 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001166/0.01222, allocations: 0.6185 MB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.01226, allocations: 12.73 kB / 332 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002513/0.01251, allocations: 57.05 kB / 332 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.01309, allocations: 286.6 kB / 332.3 MB, free: 11.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.854e-05/0.01312, allocations: 27.19 kB / 332.3 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.709e-05/0.01318, allocations: 31.19 kB / 332.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007846/0.01397, allocations: 474.6 kB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.919e-05/0.01399, allocations: 3.938 kB / 332.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/0.01403, allocations: 15.28 kB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.517e-05/0.01404, allocations: 9 kB / 332.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005524/0.0146, allocations: 275.5 kB / 333.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002334/0.01693, allocations: 1.176 MB / 334.3 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005404/0.01747, allocations: 191.3 kB / 334.5 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.01766, allocations: 84.31 kB / 334.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.01769, allocations: 2.531 kB / 334.6 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.01773, allocations: 41 kB / 334.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 2.024e-06/0.01773, allocations: 1.25 kB / 334.6 MB, free: 9.953 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.001635/0.01937, allocations: 448.9 kB / 335.1 MB, free: 9.715 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.01941, allocations: 54.25 kB / 335.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003532/0.01976, allocations: 282.5 kB / 335.4 MB, free: 9.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.983e-05/0.01979, allocations: 27.14 kB / 335.4 MB, free: 9.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.01997, allocations: 242.4 kB / 335.7 MB, free: 9.211 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.21e-05/0.02004, allocations: 62.53 kB / 335.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001017/0.02014, allocations: 53.06 kB / 335.8 MB, free: 9.117 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.02032, allocations: 340.3 kB / 336.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/0.02049, allocations: 76.42 kB / 336.2 MB, free: 8.742 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002458/0.02074, allocations: 143.7 kB / 336.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.02113, allocations: 217.8 kB / 336.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.02113, allocations: 0 / 336.5 MB, free: 8.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008263/0.02196, allocations: 357.2 kB / 336.9 MB, free: 8.254 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.02198, allocations: 9.844 kB / 336.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.02199, allocations: 3.406 kB / 336.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.02249, allocations: 106.4 kB / 337 MB, free: 8.195 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.02266, allocations: 35.83 kB / 337 MB, free: 8.188 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004039/0.0267, allocations: 3.194 MB / 340.2 MB, free: 5.172 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.02697, allocations: 38.17 kB / 340.3 MB, free: 5.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.02699, allocations: 11.81 kB / 340.3 MB, free: 5.141 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (feedback.opAmp.satNeg,feedback.opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002363/0.02723, allocations: 156.9 kB / 340.4 MB, free: 4.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/0.02729, allocations: 29.41 kB / 340.5 MB, free: 4.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.823e-05/0.02735, allocations: 27.73 kB / 340.5 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.02736, allocations: 6.062 kB / 340.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.02736, allocations: 1.125 kB / 340.5 MB, free: 4.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.02737, allocations: 5.094 kB / 340.5 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003907/0.02776, allocations: 257.5 kB / 340.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.02776, allocations: 1.109 kB / 340.7 MB, free: 4.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.078e-05/0.02785, allocations: 19.31 kB / 340.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004006/0.02825, allocations: 108.8 kB / 340.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.02827, allocations: 0 / 340.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003916/0.03218, allocations: 3.198 MB / 344.1 MB, free: 1.223 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.03219, allocations: 7.969 kB / 344.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000726/0.03292, allocations: 372.1 kB / 344.4 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.03298, allocations: 31.78 kB / 344.5 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.03301, allocations: 8 kB / 344.5 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000228/0.03324, allocations: 19.98 kB / 344.5 MB, free: 0.7734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.0333, allocations: 27.83 kB / 344.5 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.896e-05/0.03332, allocations: 8 kB / 344.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.03355, allocations: 197.2 kB / 344.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of sort global known variables: time 7e-08/0.03355, allocations: 0 / 344.7 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006099/0.03416, allocations: 119.7 kB / 344.8 MB, free: 440 kB / 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 (feedback.opAmp.satPos,feedback.opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001396/0.0343, allocations: 99.25 kB / 344.9 MB, free: 332 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007766/0.03508, allocations: 429.6 kB / 345.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.03508, allocations: 4.062 kB / 345.4 MB, free: 15.88 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.03556, allocations: 341.1 kB / 345.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.03593, allocations: 36.48 kB / 345.7 MB, free: 15.48 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.03712, allocations: 0.5733 MB / 346.3 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/0.03732, allocations: 181.4 kB / 346.5 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 9.522e-05/0.03741, allocations: 22.3 kB / 346.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.958e-05/0.03746, allocations: 20.5 kB / 346.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.03746, allocations: 0 / 346.5 MB, free: 14.64 MB / 318.1 MB Notification: Performance of Templates: time 0.009206/0.04667, allocations: 3.848 MB / 350.4 MB, free: 10.85 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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,f,feedback.R1,feedback.R3,feedback.V0,feedback.Vns,feedback.Vps,feedback.k,feedback.opAmp.Tau,feedback.opAmp.V0,feedback.opAmp.Vns,feedback.opAmp.Vps,feedback.opAmp.initOpAmp,feedback.opAmp.useFirstOrder,feedback.opAmp.useSupply,feedback.r1.R,feedback.r1.T,feedback.r1.T_ref,feedback.r1.alpha,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.v2,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.618373371660709]