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.0007175/0.0007175, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001003/0.001721, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0006769/0.0006769, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007836/0.00146, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9615/0.9615, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08086/1.042, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.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.282e-06/1.282e-06, allocations: 0 / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065e-05/1.193e-05, allocations: 2.312 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.002855/0.002867, allocations: 3.418 MB / 248.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.004017, allocations: 0.8646 MB / 249.3 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.00415, allocations: 7.938 kB / 249.3 MB, free: 9.285 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.874e-05/0.004249, allocations: 71.36 kB / 249.4 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.004411, allocations: 142.8 kB / 249.5 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.004593, allocations: 123.8 kB / 249.7 MB, free: 8.953 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.00493, allocations: 0.5055 MB / 250.2 MB, free: 8.445 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005584/0.005488, allocations: 130 kB / 250.3 MB, free: 8.316 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000329/0.005817, allocations: 327.9 kB / 250.6 MB, free: 7.996 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.005991, allocations: 163.6 kB / 250.8 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.379e-05/0.006045, allocations: 51.94 kB / 250.8 MB, free: 7.785 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.036e-05/0.006135, allocations: 52 kB / 250.9 MB, free: 7.734 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.546e-05/0.006181, allocations: 71.81 kB / 251 MB, free: 7.664 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.418e-05/0.006275, allocations: 131.8 kB / 251.1 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.006567, allocations: 306.9 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.328e-05/0.00658, allocations: 0 / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.006581, allocations: 3.938 kB / 251.4 MB, free: 7.23 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.006596, allocations: 0 / 251.4 MB, free: 7.23 MB / 250.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.000693/0.007289, allocations: 0.6907 MB / 252.1 MB, free: 6.512 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.007319, allocations: 12.62 kB / 252.1 MB, free: 6.5 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001571/0.007476, allocations: 146 kB / 252.2 MB, free: 6.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.007711, allocations: 224.6 kB / 252.5 MB, free: 6.098 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.007729, allocations: 25.38 kB / 252.5 MB, free: 6.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.977e-05/0.007759, allocations: 36.38 kB / 252.5 MB, free: 6.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/0.008033, allocations: 364.3 kB / 252.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.008044, allocations: 7.938 kB / 252.9 MB, free: 5.637 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.008064, allocations: 12 kB / 252.9 MB, free: 5.625 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.008072, allocations: 12 kB / 252.9 MB, free: 5.613 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.008186, allocations: 90.89 kB / 253 MB, free: 5.523 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.009203, allocations: 0.9942 MB / 254 MB, free: 4.465 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.009397, allocations: 129.8 kB / 254.1 MB, free: 4.332 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.009436, allocations: 36.78 kB / 254.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.063e-05/0.009456, allocations: 4.344 kB / 254.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.335e-05/0.00948, allocations: 42.56 kB / 254.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.009481, allocations: 0 / 254.2 MB, free: 4.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005542/0.01004, allocations: 283 kB / 254.5 MB, free: 3.949 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.334e-05/0.01006, allocations: 59.41 kB / 254.5 MB, free: 3.879 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.0102, allocations: 248.9 kB / 254.8 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.01021, allocations: 29.7 kB / 254.8 MB, free: 3.586 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.183e-05/0.0103, allocations: 224.5 kB / 255 MB, free: 3.363 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.01033, allocations: 71.36 kB / 255.1 MB, free: 3.293 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.01038, allocations: 53.67 kB / 255.1 MB, free: 3.234 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.921e-05/0.01046, allocations: 338.7 kB / 255.5 MB, free: 2.895 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.033e-05/0.01049, allocations: 27.97 kB / 255.5 MB, free: 2.867 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.01055, allocations: 96.55 kB / 255.6 MB, free: 2.742 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.01066, allocations: 142 kB / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01067, allocations: 0 / 255.7 MB, free: 2.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002518/0.01092, allocations: 226.9 kB / 255.9 MB, free: 2.34 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01093, allocations: 11.98 kB / 256 MB, free: 2.328 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.01094, allocations: 3.938 kB / 256 MB, free: 2.324 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00028/0.01122, allocations: 113.8 kB / 256.1 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.805e-05/0.0113, allocations: 43.92 kB / 256.1 MB, free: 2.164 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/0.01304, allocations: 2.748 MB / 258.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.792e-05/0.01313, allocations: 35.77 kB / 258.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.01313, allocations: 8 kB / 258.9 MB, free: 15.2 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 7.738e-05/0.01321, allocations: 129.8 kB / 259 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.01324, allocations: 19.92 kB / 259.1 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.792e-05/0.01327, allocations: 34.11 kB / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01327, allocations: 4 kB / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.01327, allocations: 0 / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.01328, allocations: 4.047 kB / 259.1 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.01343, allocations: 177.6 kB / 259.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01343, allocations: 0 / 259.3 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-05/0.01347, allocations: 23.92 kB / 259.3 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.01349, allocations: 27.8 kB / 259.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00023/0.01372, allocations: 101.6 kB / 259.4 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.01373, allocations: 11.98 kB / 259.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/0.01499, allocations: 2.728 MB / 262.2 MB, free: 11.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01499, allocations: 4.062 kB / 262.2 MB, free: 11.72 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002085/0.0152, allocations: 257 kB / 262.4 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.01521, allocations: 11.94 kB / 262.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.265e-05/0.0153, allocations: 15.98 kB / 262.4 MB, free: 11.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.01535, allocations: 23.95 kB / 262.5 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.01536, allocations: 12.06 kB / 262.5 MB, free: 11.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.242e-05/0.01543, allocations: 98.69 kB / 262.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.01543, allocations: 0 / 262.6 MB, free: 11.29 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003004/0.01573, allocations: 107.7 kB / 262.7 MB, free: 11.19 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.0001006/0.01583, allocations: 80.42 kB / 262.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.01618, allocations: 372.9 kB / 263.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/0.01619, allocations: 4 kB / 263.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001812/0.01638, allocations: 321.8 kB / 263.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.01658, allocations: 65.06 kB / 263.5 MB, free: 10.3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002327/0.0189, allocations: 0.602 MB / 264.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.442e-05/0.01897, allocations: 100.8 kB / 264.2 MB, free: 9.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.927e-05/0.01904, allocations: 30.27 kB / 264.2 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.01943, allocations: 91.36 kB / 264.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01943, allocations: 0 / 264.3 MB, free: 9.43 MB / 266.7 MB Notification: Performance of Templates: time 0.005949/0.02538, allocations: 4.318 MB / 268.6 MB, free: 5.164 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 -ignoreHideResult -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.r1.useHeatPort,feedback.r2.R,feedback.r2.T,feedback.r2.T_ref,feedback.r2.alpha,feedback.r2.useHeatPort,feedback.r3.R,feedback.r3.T,feedback.r3.T_ref,feedback.r3.alpha,feedback.r3.useHeatPort,feedback.r4.R,feedback.r4.T,feedback.r4.T_ref,feedback.r4.alpha,feedback.r4.useHeatPort,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.50669133849442]