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.001037/0.001037, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001141/0.001141, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.038/1.038, allocations: 177 MB / 205.2 MB, free: 5.539 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 3.747e-06/3.747e-06, allocations: 3.984 kB / 273 MB, free: 1.684 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.561e-05/3.935e-05, allocations: 2.312 kB / 273 MB, free: 1.68 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003719/0.003759, allocations: 3.39 MB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001482/0.00524, allocations: 0.8259 MB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002271/0.005467, allocations: 7.938 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001945/0.005662, allocations: 67.36 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002445/0.005906, allocations: 142.8 kB / 277.5 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003518/0.006258, allocations: 135.7 kB / 277.6 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004501/0.006708, allocations: 0.5094 MB / 278.1 MB, free: 12.58 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002227/0.006931, allocations: 121.3 kB / 278.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003473/0.007278, allocations: 295.3 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.007476, allocations: 155.5 kB / 278.7 MB, free: 12.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.024e-05/0.007536, allocations: 48 kB / 278.7 MB, free: 11.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.007619, allocations: 55.98 kB / 278.8 MB, free: 11.91 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.007675, allocations: 99.67 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.007793, allocations: 155.6 kB / 279 MB, free: 11.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003914/0.008185, allocations: 338.8 kB / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.008188, allocations: 0 / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.00819, allocations: 0 / 279.3 MB, free: 11.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.008197, allocations: 0 / 279.3 MB, free: 11.33 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.0008284/0.009025, allocations: 0.7143 MB / 280.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.009072, allocations: 19.97 kB / 280.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001947/0.009266, allocations: 84.66 kB / 280.2 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.009609, allocations: 279.3 kB / 280.4 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.009634, allocations: 29.38 kB / 280.5 MB, free: 10.15 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.784e-05/0.009672, allocations: 36.38 kB / 280.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004112/0.01008, allocations: 380.3 kB / 280.9 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.0101, allocations: 7.922 kB / 280.9 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.01012, allocations: 20 kB / 280.9 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.01013, allocations: 8 kB / 280.9 MB, free: 9.672 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.0104, allocations: 137.9 kB / 281 MB, free: 9.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001926/0.01233, allocations: 1.197 MB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003739/0.0127, allocations: 158.5 kB / 282.4 MB, free: 8.09 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.482e-05/0.01278, allocations: 51.59 kB / 282.4 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.0128, allocations: 8.344 kB / 282.4 MB, free: 8.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.01283, allocations: 37.39 kB / 282.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.904e-06/0.01283, allocations: 0 / 282.5 MB, free: 7.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.001122/0.01396, allocations: 352.5 kB / 282.8 MB, free: 7.621 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.01399, allocations: 51.41 kB / 282.9 MB, free: 7.559 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.01431, allocations: 312.3 kB / 283.2 MB, free: 7.238 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.01433, allocations: 29.7 kB / 283.2 MB, free: 7.203 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/0.0145, allocations: 286.8 kB / 283.5 MB, free: 6.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.01455, allocations: 67.38 kB / 283.6 MB, free: 6.852 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.263e-05/0.01464, allocations: 55.36 kB / 283.6 MB, free: 6.789 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.01481, allocations: 0.5078 MB / 284.1 MB, free: 6.27 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.815e-05/0.01491, allocations: 35.97 kB / 284.2 MB, free: 6.234 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001628/0.01507, allocations: 140.8 kB / 284.3 MB, free: 6.055 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002598/0.01533, allocations: 176.6 kB / 284.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.01533, allocations: 4 kB / 284.5 MB, free: 5.836 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005665/0.0159, allocations: 289.8 kB / 284.8 MB, free: 5.539 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.01592, allocations: 8 kB / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01593, allocations: 0 / 284.8 MB, free: 5.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005226/0.01645, allocations: 127.5 kB / 284.9 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.0166, allocations: 35.92 kB / 284.9 MB, free: 5.363 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003214/0.01981, allocations: 4.059 MB / 289 MB, free: 1.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.01996, allocations: 35.84 kB / 289 MB, free: 1.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.01998, allocations: 12 kB / 289 MB, free: 1.008 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.0001423/0.02012, allocations: 168.5 kB / 289.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.338e-05/0.02019, allocations: 35.8 kB / 289.2 MB, free: 0.7969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.026e-05/0.02023, allocations: 30.11 kB / 289.3 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.02023, allocations: 4 kB / 289.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.02023, allocations: 0 / 289.3 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.02024, allocations: 3.938 kB / 289.3 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.02054, allocations: 256.5 kB / 289.5 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.02055, allocations: 0 / 289.5 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.0206, allocations: 12 kB / 289.5 MB, free: 476 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004086/0.02101, allocations: 119.2 kB / 289.6 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.02103, allocations: 11.94 kB / 289.7 MB, free: 336 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002643/0.02367, allocations: 4.052 MB / 293.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.02367, allocations: 0 / 293.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.02416, allocations: 362.9 kB / 294.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.02421, allocations: 35.73 kB / 294.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.699e-05/0.02424, allocations: 0 / 294.1 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.02441, allocations: 28.02 kB / 294.1 MB, free: 11.58 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.02449, allocations: 19.91 kB / 294.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.0245, allocations: 4 kB / 294.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002077/0.02471, allocations: 225 kB / 294.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02471, allocations: 0 / 294.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005841/0.02529, allocations: 103.8 kB / 294.5 MB, free: 11.23 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.0001418/0.02544, allocations: 103.2 kB / 294.6 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000532/0.02597, allocations: 0.4981 MB / 295.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.02597, allocations: 4 kB / 295.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002661/0.02624, allocations: 439.7 kB / 295.5 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.02653, allocations: 48.44 kB / 295.5 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001154/0.02768, allocations: 0.5726 MB / 296.1 MB, free: 9.469 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.523e-05/0.02777, allocations: 92.84 kB / 296.2 MB, free: 9.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.872e-05/0.02786, allocations: 26.28 kB / 296.2 MB, free: 9.328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.0279, allocations: 20.5 kB / 296.3 MB, free: 9.309 MB / 282.7 MB Notification: Performance of SimCode: time 1.973e-06/0.02791, allocations: 0 / 296.3 MB, free: 9.309 MB / 282.7 MB Notification: Performance of Templates: time 0.007837/0.03574, allocations: 3.924 MB / 300.2 MB, free: 5.438 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 -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.9772979649715126]