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.001403/0.001403, allocations: 88.86 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.001623/0.001623, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.947/0.947, allocations: 177 MB / 205.2 MB, free: 5.051 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.312e-06/1.312e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.238e-05/2.369e-05, allocations: 5.266 kB / 273.4 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003257/0.003281, allocations: 3.356 MB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001467/0.004748, allocations: 0.8529 MB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.004948, allocations: 7.938 kB / 277.6 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001763/0.005124, allocations: 71.34 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002042/0.005328, allocations: 130.8 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003099/0.005638, allocations: 139.7 kB / 278 MB, free: 12.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004346/0.006073, allocations: 0.5094 MB / 278.5 MB, free: 11.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.006256, allocations: 122 kB / 278.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003588/0.006615, allocations: 295.4 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.006802, allocations: 151.5 kB / 279 MB, free: 11.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.006847, allocations: 52 kB / 279.1 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.829e-05/0.006925, allocations: 59.98 kB / 279.1 MB, free: 11.28 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.301e-05/0.006978, allocations: 91.67 kB / 279.2 MB, free: 11.19 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.007092, allocations: 163.6 kB / 279.4 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003541/0.007446, allocations: 334.8 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.00745, allocations: 4 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.007451, allocations: 0 / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.12e-06/0.007456, allocations: 0 / 279.7 MB, free: 10.7 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.0006348/0.008091, allocations: 0.5974 MB / 280.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.008122, allocations: 15.98 kB / 280.3 MB, free: 10.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.008264, allocations: 68.89 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002774/0.008542, allocations: 224.6 kB / 280.6 MB, free: 9.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.008561, allocations: 25.38 kB / 280.7 MB, free: 9.723 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.074e-05/0.008591, allocations: 36.38 kB / 280.7 MB, free: 9.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.008888, allocations: 368.2 kB / 281 MB, free: 9.289 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.008899, allocations: 3.938 kB / 281.1 MB, free: 9.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.008918, allocations: 23.94 kB / 281.1 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.008926, allocations: 15.94 kB / 281.1 MB, free: 9.246 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.009039, allocations: 86.95 kB / 281.2 MB, free: 9.164 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.0101, allocations: 0.9902 MB / 282.2 MB, free: 8.105 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001963/0.0103, allocations: 130.2 kB / 282.3 MB, free: 7.973 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.01034, allocations: 37.19 kB / 282.3 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.01036, allocations: 4 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.01038, allocations: 42.52 kB / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.773e-06/0.01038, allocations: 0 / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000572/0.01096, allocations: 283 kB / 282.6 MB, free: 7.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.597e-05/0.01098, allocations: 55.41 kB / 282.7 MB, free: 7.523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.01113, allocations: 252.8 kB / 283 MB, free: 7.266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.01115, allocations: 33.7 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.706e-05/0.01124, allocations: 212.6 kB / 283.2 MB, free: 7.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.01127, allocations: 71.41 kB / 283.3 MB, free: 6.945 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.387e-05/0.01134, allocations: 53.67 kB / 283.3 MB, free: 6.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.712e-05/0.01144, allocations: 342.7 kB / 283.6 MB, free: 6.543 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.437e-05/0.01147, allocations: 19.98 kB / 283.7 MB, free: 6.523 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.01154, allocations: 104.5 kB / 283.8 MB, free: 6.391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.01165, allocations: 148.2 kB / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.01165, allocations: 0 / 283.9 MB, free: 6.215 MB / 266.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000256/0.01191, allocations: 220.3 kB / 284.1 MB, free: 5.988 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01192, allocations: 8 kB / 284.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01193, allocations: 4 kB / 284.1 MB, free: 5.977 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/0.01224, allocations: 113.9 kB / 284.3 MB, free: 5.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.077e-05/0.01232, allocations: 35.92 kB / 284.3 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.0139, allocations: 2.759 MB / 287 MB, free: 2.883 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.541e-05/0.01399, allocations: 27.91 kB / 287.1 MB, free: 2.855 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.01401, allocations: 16.06 kB / 287.1 MB, free: 2.84 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 9.979e-05/0.01411, allocations: 129.7 kB / 287.2 MB, free: 2.703 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.674e-05/0.01414, allocations: 23.97 kB / 287.2 MB, free: 2.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.01417, allocations: 30.11 kB / 287.3 MB, free: 2.648 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.01418, allocations: 8.031 kB / 287.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01418, allocations: 0 / 287.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.01418, allocations: 0 / 287.3 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.01435, allocations: 181.7 kB / 287.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.01436, allocations: 0 / 287.5 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.01439, allocations: 19.86 kB / 287.5 MB, free: 2.426 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002608/0.01465, allocations: 109.6 kB / 287.6 MB, free: 2.312 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.01466, allocations: 4 kB / 287.6 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1064/0.1211, allocations: 2.735 MB / 290.3 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.1211, allocations: 0 / 290.3 MB, free: 24.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1214, allocations: 270.1 kB / 290.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.1214, allocations: 21.62 kB / 290.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1214, allocations: 4.188 kB / 290.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.1215, allocations: 22.67 kB / 290.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.657e-05/0.1216, allocations: 20.34 kB / 290.6 MB, free: 24.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.1216, allocations: 5.438 kB / 290.7 MB, free: 24.08 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.105e-05/0.1217, allocations: 87.89 kB / 290.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1217, allocations: 0 / 290.7 MB, free: 24.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003402/0.122, allocations: 109.7 kB / 290.8 MB, free: 24.07 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.0001126/0.1221, allocations: 88.89 kB / 290.9 MB, free: 24 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000379/0.1225, allocations: 370 kB / 291.3 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.1225, allocations: 2.75 kB / 291.3 MB, free: 23.77 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.1227, allocations: 315.6 kB / 291.6 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.1229, allocations: 49.81 kB / 291.7 MB, free: 23.54 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009346/0.1239, allocations: 0.5683 MB / 292.2 MB, free: 23.24 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.661e-05/0.1239, allocations: 98.81 kB / 292.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.252e-05/0.124, allocations: 25.77 kB / 292.3 MB, free: 23.16 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.1241, allocations: 96.39 kB / 292.4 MB, free: 23.11 MB / 266.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1241, allocations: 0 / 292.4 MB, free: 23.11 MB / 266.7 MB Notification: Performance of Templates: time 0.007587/0.1317, allocations: 4.144 MB / 296.6 MB, free: 22.79 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.844840293750167]