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.001058/0.001058, allocations: 95.5 kB / 21.2 MB, free: 3.375 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.0009623/0.0009623, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 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.014/1.014, allocations: 177 MB / 204.8 MB, free: 4.785 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.614e-06/1.614e-06, allocations: 3.938 kB / 273 MB, free: 1.133 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.106e-05, allocations: 12.78 kB / 273 MB, free: 1.121 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.01025/0.01029, allocations: 3.391 MB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002779/0.01306, allocations: 0.8336 MB / 277.2 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.0133, allocations: 7.938 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.0135, allocations: 67.36 kB / 277.3 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.01376, allocations: 134.8 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003815/0.01414, allocations: 139.7 kB / 277.5 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005418/0.01468, allocations: 0.5094 MB / 278 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002747/0.01496, allocations: 121.3 kB / 278.2 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004609/0.01542, allocations: 295.4 kB / 278.4 MB, free: 11.6 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002135/0.01563, allocations: 147.6 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.161e-05/0.01568, allocations: 52 kB / 278.6 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.01578, allocations: 55.98 kB / 278.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.01583, allocations: 99.61 kB / 278.8 MB, free: 11.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.01594, allocations: 159.6 kB / 278.9 MB, free: 11.1 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003689/0.01631, allocations: 334.8 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.01631, allocations: 3.984 kB / 279.3 MB, free: 10.77 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.01631, allocations: 4 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.01632, allocations: 0 / 279.3 MB, free: 10.76 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.0007746/0.01709, allocations: 0.7143 MB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.01713, allocations: 11.98 kB / 280 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.01731, allocations: 88.64 kB / 280.1 MB, free: 9.914 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.01764, allocations: 279.3 kB / 280.4 MB, free: 9.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.01766, allocations: 25.38 kB / 280.4 MB, free: 9.59 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.0177, allocations: 36.38 kB / 280.4 MB, free: 9.555 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.01808, allocations: 384.3 kB / 280.8 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.01809, allocations: 7.875 kB / 280.8 MB, free: 9.133 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.01812, allocations: 16 kB / 280.8 MB, free: 9.117 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.01813, allocations: 12 kB / 280.8 MB, free: 9.105 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.01833, allocations: 141.9 kB / 281 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.01962, allocations: 1.189 MB / 282.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002839/0.0199, allocations: 151.3 kB / 282.3 MB, free: 7.531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.01997, allocations: 55.66 kB / 282.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.01999, allocations: 8.344 kB / 282.4 MB, free: 7.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.02002, allocations: 37.39 kB / 282.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.954e-06/0.02002, allocations: 0 / 282.4 MB, free: 7.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007357/0.02076, allocations: 350.3 kB / 282.8 MB, free: 7.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.02079, allocations: 55.41 kB / 282.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.02098, allocations: 312.2 kB / 283.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.021, allocations: 33.7 kB / 283.1 MB, free: 6.637 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.02112, allocations: 282.8 kB / 283.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.263e-05/0.02115, allocations: 63.44 kB / 283.5 MB, free: 6.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.02121, allocations: 63.3 kB / 283.5 MB, free: 6.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.02133, allocations: 0.5039 MB / 284.1 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.02139, allocations: 31.98 kB / 284.1 MB, free: 5.676 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.0215, allocations: 140.8 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.02167, allocations: 188.6 kB / 284.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.02168, allocations: 4 kB / 284.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003621/0.02204, allocations: 289.9 kB / 284.7 MB, free: 4.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.02205, allocations: 4 kB / 284.7 MB, free: 4.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.02206, allocations: 4 kB / 284.7 MB, free: 4.961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003673/0.02243, allocations: 123.5 kB / 284.8 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.712e-05/0.02252, allocations: 31.98 kB / 284.9 MB, free: 4.801 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.02468, allocations: 4.047 MB / 288.9 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.0248, allocations: 39.77 kB / 288.9 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.02481, allocations: 16 kB / 289 MB, free: 460 kB / 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.0001158/0.02493, allocations: 168.5 kB / 289.1 MB, free: 280 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.02497, allocations: 31.86 kB / 289.1 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.025, allocations: 30.11 kB / 289.2 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.025, allocations: 0 / 289.2 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.02501, allocations: 8.062 kB / 289.2 MB, free: 212 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.02501, allocations: 3.938 kB / 289.2 MB, free: 208 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1094/0.1344, allocations: 251.9 kB / 289.4 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.169e-06/0.1344, allocations: 1.125 kB / 289.4 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.1345, allocations: 13.8 kB / 289.5 MB, free: 25.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/0.1349, allocations: 117.7 kB / 289.6 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1349, allocations: 5.719 kB / 289.6 MB, free: 25.21 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/0.1366, allocations: 4.043 MB / 293.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1366, allocations: 2.641 kB / 293.6 MB, free: 21.54 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003439/0.137, allocations: 363.6 kB / 294 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.072e-05/0.137, allocations: 31.72 kB / 294 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.137, allocations: 8.609 kB / 294 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.1371, allocations: 23.91 kB / 294 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.468e-05/0.1372, allocations: 21.12 kB / 294.1 MB, free: 21.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.1372, allocations: 5.844 kB / 294.1 MB, free: 21.33 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1374, allocations: 216.7 kB / 294.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.1374, allocations: 0 / 294.3 MB, free: 21.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.1378, allocations: 111.3 kB / 294.4 MB, free: 21.2 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 (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.0001375/0.1379, allocations: 101.6 kB / 294.5 MB, free: 21.11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005243/0.1385, allocations: 0.4952 MB / 295 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1385, allocations: 1.469 kB / 295 MB, free: 20.75 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002101/0.1387, allocations: 440.3 kB / 295.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.139, allocations: 42.62 kB / 295.4 MB, free: 20.39 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.14, allocations: 0.5869 MB / 296 MB, free: 20.07 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.75e-05/0.14, allocations: 99.48 kB / 296.1 MB, free: 20 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.14e-05/0.1401, allocations: 28.66 kB / 296.2 MB, free: 19.99 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.1402, allocations: 21.3 kB / 296.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.1402, allocations: 0 / 296.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of Templates: time 0.007676/0.1479, allocations: 4.068 MB / 300.2 MB, free: 19.62 MB / 266.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 -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.767614592332393]