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.001283/0.001283, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.001123/0.001123, allocations: 164.9 kB / 24.91 MB, free: 9.258 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 1/1, allocations: 177 MB / 205.2 MB, free: 5.438 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.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 1.343e-06/1.343e-06, allocations: 0 / 273.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.132e-05, allocations: 2.312 kB / 273.5 MB, free: 1.125 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.004769/0.00479, allocations: 3.402 MB / 276.9 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.006097, allocations: 0.8567 MB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.006235, allocations: 8 kB / 277.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.006393, allocations: 67.34 kB / 277.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.006566, allocations: 138.8 kB / 277.9 MB, free: 12.63 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.006819, allocations: 131.7 kB / 278.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003362/0.007156, allocations: 0.5094 MB / 278.6 MB, free: 11.99 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.00734, allocations: 126 kB / 278.7 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002734/0.007613, allocations: 295.3 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.007784, allocations: 159.5 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.103e-05/0.007835, allocations: 48 kB / 279.2 MB, free: 11.37 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.299e-05/0.007918, allocations: 56 kB / 279.2 MB, free: 11.31 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.004e-05/0.007968, allocations: 95.67 kB / 279.3 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.008072, allocations: 159.6 kB / 279.5 MB, free: 11.06 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.008388, allocations: 330.8 kB / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.008392, allocations: 0 / 279.8 MB, free: 10.74 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.008393, allocations: 4 kB / 279.8 MB, free: 10.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.0084, allocations: 0 / 279.8 MB, free: 10.73 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006/0.009, allocations: 0.6012 MB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.981e-05/0.00903, allocations: 15.98 kB / 280.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.009172, allocations: 68.89 kB / 280.5 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.009424, allocations: 220.6 kB / 280.7 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.009446, allocations: 25.38 kB / 280.7 MB, free: 9.762 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.009476, allocations: 36.38 kB / 280.8 MB, free: 9.727 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.009769, allocations: 368.3 kB / 281.1 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.009781, allocations: 3.938 kB / 281.1 MB, free: 9.324 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.009803, allocations: 19.98 kB / 281.2 MB, free: 9.305 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.009811, allocations: 11.94 kB / 281.2 MB, free: 9.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.009927, allocations: 98.89 kB / 281.3 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01097, allocations: 0.9863 MB / 282.2 MB, free: 8.145 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.01116, allocations: 122.5 kB / 282.4 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.076e-05/0.0112, allocations: 41.19 kB / 282.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.01121, allocations: 7.938 kB / 282.4 MB, free: 7.965 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.01124, allocations: 46.5 kB / 282.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.993e-06/0.01125, allocations: 0 / 282.5 MB, free: 7.91 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005829/0.01183, allocations: 289.8 kB / 282.7 MB, free: 7.617 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.206e-05/0.01185, allocations: 51.41 kB / 282.8 MB, free: 7.555 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.012, allocations: 252.9 kB / 283 MB, free: 7.297 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.01201, allocations: 29.7 kB / 283.1 MB, free: 7.262 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.453e-05/0.0121, allocations: 212.6 kB / 283.3 MB, free: 7.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.215e-05/0.01213, allocations: 71.41 kB / 283.3 MB, free: 6.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.177e-05/0.01218, allocations: 49.67 kB / 283.4 MB, free: 6.926 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.01226, allocations: 342.7 kB / 283.7 MB, free: 6.582 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.157e-05/0.0123, allocations: 27.92 kB / 283.8 MB, free: 6.555 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.714e-05/0.01236, allocations: 96.53 kB / 283.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.01249, allocations: 153.6 kB / 284 MB, free: 6.25 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.01249, allocations: 4 kB / 284 MB, free: 6.246 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002689/0.01276, allocations: 219.7 kB / 284.2 MB, free: 6.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.01277, allocations: 6.812 kB / 284.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.01278, allocations: 4 kB / 284.2 MB, free: 6.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/0.01308, allocations: 113.9 kB / 284.3 MB, free: 5.895 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.489e-05/0.01316, allocations: 35.92 kB / 284.4 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.01475, allocations: 2.759 MB / 287.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.01485, allocations: 23.84 kB / 287.2 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.01487, allocations: 16.06 kB / 287.2 MB, free: 2.883 MB / 266.7 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.0001097/0.01498, allocations: 133.8 kB / 287.3 MB, free: 2.742 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.01501, allocations: 23.97 kB / 287.3 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.355e-05/0.01504, allocations: 34.11 kB / 287.4 MB, free: 2.684 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.01505, allocations: 3.938 kB / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.01505, allocations: 0 / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01505, allocations: 0 / 287.4 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001915/0.01525, allocations: 173.7 kB / 287.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01525, allocations: 0 / 287.5 MB, free: 2.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.665e-05/0.0153, allocations: 27.88 kB / 287.6 MB, free: 2.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.01557, allocations: 109.6 kB / 287.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.01557, allocations: 0 / 287.7 MB, free: 2.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.01702, allocations: 2.752 MB / 290.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01702, allocations: 64 / 290.4 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.01726, allocations: 261 kB / 290.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/0.01729, allocations: 31.78 kB / 290.7 MB, free: 15.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01731, allocations: 7.938 kB / 290.7 MB, free: 15.1 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.875e-05/0.0174, allocations: 16.02 kB / 290.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.01744, allocations: 23.97 kB / 290.8 MB, free: 15.06 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.01745, allocations: 8 kB / 290.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.579e-05/0.01752, allocations: 86.77 kB / 290.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01752, allocations: 0 / 290.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003211/0.01784, allocations: 107.8 kB / 291 MB, free: 14.86 MB / 282.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 (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.0001046/0.01794, allocations: 84.36 kB / 291 MB, free: 14.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003529/0.0183, allocations: 364.9 kB / 291.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.0183, allocations: 4 kB / 291.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.01849, allocations: 320.9 kB / 291.7 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/0.01873, allocations: 57.42 kB / 291.8 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009098/0.01964, allocations: 0.5631 MB / 292.3 MB, free: 13.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.078e-05/0.0197, allocations: 100.8 kB / 292.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.01977, allocations: 22.28 kB / 292.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.01988, allocations: 95.36 kB / 292.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.222e-06/0.01988, allocations: 0 / 292.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.006527/0.02641, allocations: 4.146 MB / 296.7 MB, free: 9.066 MB / 282.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] 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","",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 filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.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/Subtracter/Subtracter.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff.ref.mat", vars={"vOut.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.753173400182277]